Skip to content

Commit 90a13ab

Browse files
authored
docs: fix edit_url and improve the robustness of multi-level lists (#363)
1. fix edit_url 2. add mdx_truly_sane_lists, allowed rendering of multi-level lists with 2/4 spaces
1 parent 676fc1c commit 90a13ab

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ site_name: tRPC-Agent-Go
22
site_url: https://trpc-group.github.io/trpc-agent-go/
33
repo_url: https://github.com/trpc-group/trpc-agent-go
44
repo_name: trpc-group/trpc-agent-go
5-
edit_uri: edit/main/docs/
5+
edit_uri: edit/main/docs/mkdocs/
66
docs_dir: mkdocs/
77

88
nav:
@@ -95,6 +95,7 @@ markdown_extensions:
9595
- pymdownx.inlinehilite
9696
- pymdownx.snippets
9797
- pymdownx.superfences
98+
- mdx_truly_sane_lists
9899

99100
extra_css:
100101
- assets/stylesheets/extra.css

docs/mkdocs/assets/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ mkdocs-git-revision-date-localized-plugin==1.4.7
66
mkdocs-material==9.6.17
77
mkdocs-material-extensions==1.3.1
88
mkdocs-static-i18n==1.3.0
9+
mdx_truly_sane_lists==1.3

0 commit comments

Comments
 (0)