From b66e4984f3584f390aca12976327101658f02eea Mon Sep 17 00:00:00 2001 From: lenadoc Date: Thu, 3 Apr 2025 10:38:23 +0200 Subject: [PATCH] fixes --- docs/overrides/main.html | 12 ++++++++++++ mkdocs.yml | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 docs/overrides/main.html diff --git a/docs/overrides/main.html b/docs/overrides/main.html new file mode 100644 index 0000000..ebf74d2 --- /dev/null +++ b/docs/overrides/main.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block content %} + +{% if page.url_to_pdf %} + + {% include ".icons/material/file-pdf-box.svg" %} + +{% endif %} + +{{ super() }} +{% endblock content %} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index e5206f1..3542057 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -12,6 +12,7 @@ theme: - content.feedback - navigation.footer - navigation.indexes + custom_dir: docs/overrides palette: primary: indigo @@ -48,6 +49,7 @@ nav: - Test a Project: usage/test-project.md plugins: - search + - print-site # To generate pdfs add pdf-export: plugin with combined: true option # To create a combined web page of the whole website and generate a pdf from it from the browser (print - save as pdf), use the "print-site" plugin at the bottom of the plugin lists: https://github.com/timvink/mkdocs-print-site-plugin