ред mkdocs и dockerfile

This commit is contained in:
mirzakaeva_ns 2023-12-28 14:36:55 +05:00
parent ae5a3b3549
commit b143aaa41d
2 changed files with 6 additions and 22 deletions

View File

@ -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

View File

@ -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:
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: