Skip to content

Commit

Permalink
fixed chinese slug issue
Browse files Browse the repository at this point in the history
resolved #16
  • Loading branch information
Fallen-Breath committed Feb 23, 2024
1 parent 79ddade commit fca2c4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mkdocs
mkdocs-material
mkdocs-static-i18n[material]
pymdown-extensions
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ markdown_extensions:
- admonition
- toc:
permalink: true
# https://github.com/mkdocs/mkdocs/issues/212#issuecomment-286035214
slugify: !!python/name:pymdownx.slugs.uslugify

# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/
- pymdownx.highlight
- pymdownx.inlinehilite
Expand Down

0 comments on commit fca2c4b

Please sign in to comment.