summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-23 13:50:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-23 13:50:16 -0300
commitf6e39ff2a88fb621612598297e8d3cf08eb77988 (patch)
treef7df45ec01fd96f8cd02f8d781482f2278c57ddb
parent3c035f5e3c6c872a42e2ce66e52ffc8abfc15f35 (diff)
downloadpadrao-f6e39ff2a88fb621612598297e8d3cf08eb77988.tar.gz
padrao-f6e39ff2a88fb621612598297e8d3cf08eb77988.tar.bz2
Feat: MkDocs improvementsHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--mkdocs.yml56
3 files changed, 58 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 006d50c..5d442e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/recentchanges
/www
site
+.cache
diff --git a/Makefile b/Makefile
index dd13f69..6d0a037 100644
--- a/Makefile
+++ b/Makefile
@@ -20,4 +20,6 @@ web:
web_deploy:
@rsync -avz --delete site/ padrao:/var/sites/padrao/www/
+docs: web
+
publish: web web_deploy
diff --git a/mkdocs.yml b/mkdocs.yml
index d0474a3..cabdf69 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -15,7 +15,61 @@ theme:
#
# This option was superseded by the privacy plugin:
# https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#built-in-privacy-plugin
- font: false
+ #font: false
+
+# Plugins
+# https://www.mkdocs.org/dev-guide/plugins/
+plugins:
+ # Note that this might not be available in the mkdocs-material package from
+ # Debian bookworm (as of 2024-08-23)
+ privacy: {}
+
+# Markdown extensions
+# See https://www.mkdocs.org/user-guide/configuration/#markdown_extensions
+# https://squidfunk.github.io/mkdocs-material/setup/extensions/
+markdown_extensions:
+ # Footnotes
+ # https://squidfunk.github.io/mkdocs-material/reference/footnotes/
+ footnotes: {}
+
+ # Tasklist handling
+ # https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist
+ pymdownx.tasklist:
+ custom_checkbox: true
+
+ # SuperFences
+ # https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences
+ pymdownx.superfences:
+ custom_fences:
+ - name: mermaid
+ class: mermaid
+ format: !!python/name:pymdownx.superfences.fence_code_format
+
+ # Table of Contents configuration
+ # See https://www.mkdocs.org/user-guide/configuration/#markdown_extensions
+ # https://www.mkdocs.org/user-guide/writing-your-docs/#linking-to-pages
+ toc:
+ permalink: true
+
+ # Attribute Lists
+ # Needed by proper image handling
+ # https://squidfunk.github.io/mkdocs-material/reference/images/
+ # https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#attribute-lists
+ attr_list: {}
+
+ # Markdown in HTML
+ # Needed by proper image handling
+ # https://squidfunk.github.io/mkdocs-material/reference/images/
+ # https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#markdown-in-html
+ md_in_html: {}
+
+# Copyright notice
+copyright: Copyleft &copy; 2024 Fluxo Group. See LICENSE for details.
+
+# Extra template parameters
+# https://www.mkdocs.org/user-guide/configuration/#extra
+extra:
+ generator: false
# Navigation
# https://www.mkdocs.org/user-guide/writing-your-docs/#configure-pages-and-navigation