change the material theme and add pymdown

This commit is contained in:
SoftFever
2026-01-03 13:29:58 +08:00
parent b8c820ef32
commit bc3f9e7f04
3 changed files with 8 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ jobs:
python-version: '3.x'
- name: Install mkdocs
run: pip install mkdocs
run: pip install mkdocs mkdocs-material pymdown-extensions
- name: Build wiki content
run: |

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
wiki/
docs/
.DS_Store

View File

@@ -12,7 +12,9 @@ use_directory_urls: false
# Theme configuration
theme:
name: readthedocs
name: material
features:
- content.code.copy # Enables the copy-to-clipboard button
# Markdown extensions (using built-in extensions to avoid extra dependencies)
markdown_extensions:
@@ -24,6 +26,9 @@ markdown_extensions:
permalink: true
- attr_list
- md_in_html
- admonition
- pymdownx.details # For collapsible admonitions
- pymdownx.superfences
# Navigation structure based on Home.md
nav: