# with-pdf

This commit is contained in:
r_minaeva 2022-10-25 18:29:19 +05:00
parent 23211b72cf
commit 92e9cefb4f
5 changed files with 88 additions and 90 deletions

View File

@ -29,43 +29,43 @@ plugins:
- literate-nav: - literate-nav:
nav_file: SUMMARY.md nav_file: SUMMARY.md
# Для пдфки видимо свой файл оглавления сделать не получится # Для пдфки видимо свой файл оглавления сделать не получится
- with-pdf: # - with-pdf:
author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова # author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова
copyright: ООО "Лексема" # copyright: ООО "Лексема"
# # #
#cover: false # #cover: false
#back_cover: true # #back_cover: true
#cover_title: TITLE TEXT # #cover_title: TITLE TEXT
cover_subtitle: Версия 1.0.0 # cover_subtitle: Версия 1.0.0
#custom_template_path: TEMPLATES PATH # #custom_template_path: TEMPLATES PATH
# # #
toc_title: Оглавление # toc_title: Оглавление
#heading_shift: false # #heading_shift: false
# toc_level: 3 # # toc_level: 3
#ordered_chapter_level: 2 # #ordered_chapter_level: 2
#excludes_children: # #excludes_children:
# - 'release-notes/:upgrading' # # - 'release-notes/:upgrading'
# - 'release-notes/:changelog' # # - 'release-notes/:changelog'
# # #
#exclude_pages: # #exclude_pages:
# - 'bugs/' # # - 'bugs/'
# - 'appendix/contribute/' # # - 'appendix/contribute/'
#convert_iframe: # #convert_iframe:
# - src: IFRAME SRC # # - src: IFRAME SRC
# img: POSTER IMAGE URL # # img: POSTER IMAGE URL
# text: ALTERNATE TEXT # # text: ALTERNATE TEXT
# - src: ... # # - src: ...
#two_columns_level: 3 # #two_columns_level: 3
# # #
#render_js: true # #render_js: true
#headless_chrome_path: headless-chromium # #headless_chrome_path: headless-chromium
# # #
output_path: pdf/admin-manual.pdf # output_path: pdf/admin-manual.pdf
#enabled_if_env: ENABLE_PDF_EXPORT # #enabled_if_env: ENABLE_PDF_EXPORT
# # #
#debug_html: true # #debug_html: true
#show_anchors: true # #show_anchors: true
#verbose: true # #verbose: true
theme: theme:
name: material name: material

View File

@ -30,18 +30,18 @@ plugins:
- literate-nav: - literate-nav:
nav_file: SUMMARY.md nav_file: SUMMARY.md
- with-pdf: # - with-pdf:
author: Регина Минаева, Ольга Мешкова # author: Регина Минаева, Ольга Мешкова
copyright: ООО "Лексема" # copyright: ООО "Лексема"
# # #
#cover: false # #cover: false
#back_cover: true # #back_cover: true
#cover_title: TITLE TEXT # #cover_title: TITLE TEXT
cover_subtitle: Версия 20221024-02 # cover_subtitle: Версия 20221024-02
#custom_template_path: TEMPLATES PATH # #custom_template_path: TEMPLATES PATH
# # #
output_path: pdf\LexemaERP-manual.pdf # output_path: pdf\LexemaERP-manual.pdf
toc_title: Оглавление # toc_title: Оглавление
theme: theme:
name: material name: material

View File

@ -10,7 +10,7 @@ plugins & addons
* mike - versioning https://github.com/jimporter/mike * mike - versioning https://github.com/jimporter/mike
weasyprint==52.5 weasyprint==52.5
mkdocs-with-pdf <!-- mkdocs-with-pdf -->
mkdocs-bootswatch - themes mkdocs-bootswatch - themes

View File

@ -1,4 +1,4 @@
mkdocs==1.1.0 mkdocs==1.4.0
mkdocs-literate-nav mkdocs-literate-nav
mkdocs-section-index mkdocs-section-index
mkdocs-include-markdown-plugin mkdocs-include-markdown-plugin
@ -8,6 +8,4 @@ mkdocs-material
mkdocs-img2fig-plugin mkdocs-img2fig-plugin
mike mike
mkdocs-with-pdf
pymdown-extensions pymdown-extensions

View File

@ -28,43 +28,43 @@ plugins:
- include-markdown - include-markdown
- literate-nav: - literate-nav:
nav_file: SUMMARY.md nav_file: SUMMARY.md
- with-pdf: # - with-pdf:
author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова # author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова
copyright: ООО "Лексема" # copyright: ООО "Лексема"
# # #
#cover: false # #cover: false
#back_cover: true # #back_cover: true
#cover_title: TITLE TEXT # #cover_title: TITLE TEXT
cover_subtitle: Версия 0.0.1 # cover_subtitle: Версия 0.0.1
#custom_template_path: TEMPLATES PATH # #custom_template_path: TEMPLATES PATH
# # #
toc_title: Оглавление # toc_title: Оглавление
#heading_shift: false # #heading_shift: false
#toc_level: 3 # #toc_level: 3
#ordered_chapter_level: 2 # #ordered_chapter_level: 2
#excludes_children: # #excludes_children:
# - 'release-notes/:upgrading' # # - 'release-notes/:upgrading'
# - 'release-notes/:changelog' # # - 'release-notes/:changelog'
# # #
#exclude_pages: # #exclude_pages:
# - 'bugs/' # # - 'bugs/'
# - 'appendix/contribute/' # # - 'appendix/contribute/'
#convert_iframe: # #convert_iframe:
# - src: IFRAME SRC # # - src: IFRAME SRC
# img: POSTER IMAGE URL # # img: POSTER IMAGE URL
# text: ALTERNATE TEXT # # text: ALTERNATE TEXT
# - src: ... # # - src: ...
#two_columns_level: 3 # #two_columns_level: 3
# # #
#render_js: true # #render_js: true
#headless_chrome_path: headless-chromium # #headless_chrome_path: headless-chromium
# # #
output_path: pdf/user-manual.pdf # output_path: pdf/user-manual.pdf
#enabled_if_env: ENABLE_PDF_EXPORT # #enabled_if_env: ENABLE_PDF_EXPORT
# # #
#debug_html: true # #debug_html: true
#show_anchors: true # #show_anchors: true
#verbose: true # #verbose: true
theme: theme:
name: material name: material