diff --git a/doc/.gitignore b/doc/.gitignore index 571d5ee3..f46ff6dd 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1,3 +1,4 @@ public_html LdapSaisie.html +LdapSaisie.pdf venv diff --git a/doc/mkdocs.yml b/doc/mkdocs.yml index 8b041c10..8643819a 100644 --- a/doc/mkdocs.yml +++ b/doc/mkdocs.yml @@ -19,7 +19,22 @@ extra: plugins: - search: lang: fr # Set language for search - - print-site + - print-site: + add_to_navigation: true + print_page_title: 'Documentation' + # Table of contents + add_table_of_contents: true + toc_title: 'Table des matières' + toc_depth: 6 + # Content-related + add_full_urls: false + enumerate_headings: true + enumerate_figures: true + add_cover_page: true + cover_page_template: "" + path_to_pdf: "" + enabled: !ENV [ENABLED_PRINT_SITE, True] + exclude: nav: diff --git a/doc/requirements.txt b/doc/requirements.txt index ba70f586..7bf878c8 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,7 +1,7 @@ mkdocs mkdocs-material mdx_truly_sane_lists -mkdocs-print-site-plugin +mkdocs-print-site-plugin==1.3.0 # For building all-in-one HTML file html5lib requests