From 6e808638de057da23a5bd0fc46c6885ac995ae91 Mon Sep 17 00:00:00 2001 From: Wytamma Wirth Date: Fri, 10 Nov 2023 15:00:36 +1100 Subject: [PATCH] Update MKdocs template --- write_the/commands/mkdocs/templates.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/write_the/commands/mkdocs/templates.py b/write_the/commands/mkdocs/templates.py index ee44975..3c26563 100644 --- a/write_the/commands/mkdocs/templates.py +++ b/write_the/commands/mkdocs/templates.py @@ -28,7 +28,20 @@ plugins: - search -- mkdocstrings +- mkdocstrings: + handlers: + python: + options: + docstring_style: "google" + +markdown_extensions: + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences """ action_template = """