diff --git a/docker/Dockerfile b/docker/Dockerfile index 2d61fc4..71bb4d9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/mkdocs.yml b/mkdocs.yml index 0a759ea..533604f 100644 --- a/mkdocs.yml +++ b/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 \ No newline at end of file