ред mkdocs и dockerfile
This commit is contained in:
parent
ae5a3b3549
commit
b143aaa41d
|
@ -42,7 +42,7 @@ FROM builder as makestatic
|
|||
ADD docs /src/docs/
|
||||
ADD mkdocs.yml /src/
|
||||
ADD def.yml /src/
|
||||
RUN cd /src && mkdocs build -f def.yml
|
||||
RUN cd /src && mkdocs build
|
||||
|
||||
FROM nginx
|
||||
# RUN rm /etc/nginx/sites-enabled/default
|
||||
|
|
26
mkdocs.yml
26
mkdocs.yml
|
@ -13,6 +13,9 @@ markdown_extensions:
|
|||
- pymdownx.highlight
|
||||
- pymdownx.superfences
|
||||
- def_list
|
||||
- pymdownx.details
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
|
||||
extra_css:
|
||||
- css/extra.css
|
||||
|
@ -23,32 +26,13 @@ extra_javascript:
|
|||
plugins:
|
||||
- search:
|
||||
lang: ['ru', 'en']
|
||||
#- img2fig
|
||||
- glightbox:
|
||||
- glightbox:
|
||||
zoomable: true
|
||||
auto_caption: true
|
||||
skip_classes:
|
||||
- no-zoom
|
||||
|
||||
- section-index
|
||||
- include-markdown
|
||||
- mkdocs-video
|
||||
- literate-nav:
|
||||
|
||||
nav_file: SUMMARY.md
|
||||
# - with-pdf:
|
||||
# author: Регина Минаева, Ольга Мешкова
|
||||
# copyright: ООО "Лексема"
|
||||
# #
|
||||
# #cover: false
|
||||
# #back_cover: true
|
||||
# #cover_title: TITLE TEXT
|
||||
# cover_subtitle: Версия 20221024-02
|
||||
# #custom_template_path: TEMPLATES PATH
|
||||
# #
|
||||
# output_path: pdf\LexemaERP-manual.pdf
|
||||
# toc_title: Оглавление
|
||||
|
||||
theme:
|
||||
name: material
|
||||
features:
|
||||
|
@ -62,4 +46,4 @@ theme:
|
|||
primary: orange
|
||||
|
||||
docs_dir: docs
|
||||
site_dir: site
|
||||
site_dir: site
|
Loading…
Reference in New Issue