From 7e0710ea31a0324db2c4e0f966bccd7ee0e9d994 Mon Sep 17 00:00:00 2001 From: oriol Date: Sun, 13 Oct 2024 02:28:14 +0200 Subject: [PATCH] Changed theme since cannot work around section-index targeting the first md in the folder. --- mkdocs.yaml | 15 +++++++++++---- requirements.txt | 7 +++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/mkdocs.yaml b/mkdocs.yaml index 0e7ceea..e1ebfef 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -5,15 +5,22 @@ site_url: https://github.com/OriolFilter/Elphelt repo_url: https://github.com/OriolFilter/Elphelt -theme: readthedocs +theme: +# name: readthedocs + name: material + features: + - navigation.indexes plugins: - - section-index -# - search +# - section-index +# - literate-nav + - search + markdown_extensions: - toc: -# permalink: "" + separator: "-" + permalink: "" # baselevel: 1 # - pymdownx.arithmatex # - pymdownx.b64 diff --git a/requirements.txt b/requirements.txt index 823693c..10d758d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,8 @@ MarkupSafe==3.0.1 mkdocs==1.6.1 mkdocs-get-deps==0.2.0 mkdocs-minify-plugin==0.8.0 -mkdocs-section-index==0.3.9 -pymdown-extensions==10.11.2 \ No newline at end of file +#mkdocs-section-index==0.3.9 +pymdown-extensions==10.11.2 +#mkdocs-literate-nav==0.6.1 +mkdocs-material==9.5.40 +mkdocs-material-extensions==1.3.1 \ No newline at end of file