From 92e9cefb4ff859176442adea768dfb60675733aa Mon Sep 17 00:00:00 2001 From: r_minaeva Date: Tue, 25 Oct 2022 18:29:19 +0500 Subject: [PATCH] # with-pdf --- admin-manuals.yml | 74 ++++++++++++++++++++--------------------- mkdocs.yml | 24 ++++++------- mkdocs/readme.md | 2 +- mkdocs/requirements.txt | 4 +-- user-manuals.yml | 74 ++++++++++++++++++++--------------------- 5 files changed, 88 insertions(+), 90 deletions(-) diff --git a/admin-manuals.yml b/admin-manuals.yml index 9879717..f65e264 100644 --- a/admin-manuals.yml +++ b/admin-manuals.yml @@ -29,43 +29,43 @@ plugins: - literate-nav: nav_file: SUMMARY.md # Для пдфки видимо свой файл оглавления сделать не получится - - with-pdf: - author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова - copyright: ООО "Лексема" - # - #cover: false - #back_cover: true - #cover_title: TITLE TEXT - cover_subtitle: Версия 1.0.0 - #custom_template_path: TEMPLATES PATH - # - toc_title: Оглавление - #heading_shift: false - # toc_level: 3 - #ordered_chapter_level: 2 - #excludes_children: - # - 'release-notes/:upgrading' - # - 'release-notes/:changelog' - # - #exclude_pages: - # - 'bugs/' - # - 'appendix/contribute/' - #convert_iframe: - # - src: IFRAME SRC - # img: POSTER IMAGE URL - # text: ALTERNATE TEXT - # - src: ... - #two_columns_level: 3 - # - #render_js: true - #headless_chrome_path: headless-chromium - # - output_path: pdf/admin-manual.pdf - #enabled_if_env: ENABLE_PDF_EXPORT - # - #debug_html: true - #show_anchors: true - #verbose: true + # - with-pdf: + # author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова + # copyright: ООО "Лексема" + # # + # #cover: false + # #back_cover: true + # #cover_title: TITLE TEXT + # cover_subtitle: Версия 1.0.0 + # #custom_template_path: TEMPLATES PATH + # # + # toc_title: Оглавление + # #heading_shift: false + # # toc_level: 3 + # #ordered_chapter_level: 2 + # #excludes_children: + # # - 'release-notes/:upgrading' + # # - 'release-notes/:changelog' + # # + # #exclude_pages: + # # - 'bugs/' + # # - 'appendix/contribute/' + # #convert_iframe: + # # - src: IFRAME SRC + # # img: POSTER IMAGE URL + # # text: ALTERNATE TEXT + # # - src: ... + # #two_columns_level: 3 + # # + # #render_js: true + # #headless_chrome_path: headless-chromium + # # + # output_path: pdf/admin-manual.pdf + # #enabled_if_env: ENABLE_PDF_EXPORT + # # + # #debug_html: true + # #show_anchors: true + # #verbose: true theme: name: material diff --git a/mkdocs.yml b/mkdocs.yml index e934e17..87ed80f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -30,18 +30,18 @@ plugins: - 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: Оглавление + # - 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 diff --git a/mkdocs/readme.md b/mkdocs/readme.md index 66346fd..5312322 100644 --- a/mkdocs/readme.md +++ b/mkdocs/readme.md @@ -10,7 +10,7 @@ plugins & addons * mike - versioning https://github.com/jimporter/mike weasyprint==52.5 -mkdocs-with-pdf + mkdocs-bootswatch - themes diff --git a/mkdocs/requirements.txt b/mkdocs/requirements.txt index 5ed327e..92cb224 100644 --- a/mkdocs/requirements.txt +++ b/mkdocs/requirements.txt @@ -1,4 +1,4 @@ -mkdocs==1.1.0 +mkdocs==1.4.0 mkdocs-literate-nav mkdocs-section-index mkdocs-include-markdown-plugin @@ -8,6 +8,4 @@ mkdocs-material mkdocs-img2fig-plugin mike -mkdocs-with-pdf - pymdown-extensions \ No newline at end of file diff --git a/user-manuals.yml b/user-manuals.yml index 3c6afd6..914afc1 100644 --- a/user-manuals.yml +++ b/user-manuals.yml @@ -28,43 +28,43 @@ plugins: - include-markdown - literate-nav: nav_file: SUMMARY.md - - with-pdf: - author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова - copyright: ООО "Лексема" - # - #cover: false - #back_cover: true - #cover_title: TITLE TEXT - cover_subtitle: Версия 0.0.1 - #custom_template_path: TEMPLATES PATH - # - toc_title: Оглавление - #heading_shift: false - #toc_level: 3 - #ordered_chapter_level: 2 - #excludes_children: - # - 'release-notes/:upgrading' - # - 'release-notes/:changelog' - # - #exclude_pages: - # - 'bugs/' - # - 'appendix/contribute/' - #convert_iframe: - # - src: IFRAME SRC - # img: POSTER IMAGE URL - # text: ALTERNATE TEXT - # - src: ... - #two_columns_level: 3 - # - #render_js: true - #headless_chrome_path: headless-chromium - # - output_path: pdf/user-manual.pdf - #enabled_if_env: ENABLE_PDF_EXPORT - # - #debug_html: true - #show_anchors: true - #verbose: true + # - with-pdf: + # author: Ксения Шабанова, Ксения Имамутдинова, Регина Минаева, Ольга Мешкова + # copyright: ООО "Лексема" + # # + # #cover: false + # #back_cover: true + # #cover_title: TITLE TEXT + # cover_subtitle: Версия 0.0.1 + # #custom_template_path: TEMPLATES PATH + # # + # toc_title: Оглавление + # #heading_shift: false + # #toc_level: 3 + # #ordered_chapter_level: 2 + # #excludes_children: + # # - 'release-notes/:upgrading' + # # - 'release-notes/:changelog' + # # + # #exclude_pages: + # # - 'bugs/' + # # - 'appendix/contribute/' + # #convert_iframe: + # # - src: IFRAME SRC + # # img: POSTER IMAGE URL + # # text: ALTERNATE TEXT + # # - src: ... + # #two_columns_level: 3 + # # + # #render_js: true + # #headless_chrome_path: headless-chromium + # # + # output_path: pdf/user-manual.pdf + # #enabled_if_env: ENABLE_PDF_EXPORT + # # + # #debug_html: true + # #show_anchors: true + # #verbose: true theme: name: material