소스 검색

Merge pull request #3062 from myhloli/dev

fix: remove unused navigation options and clean up admonition translations in mkdocs configuration
Xiaomeng Zhao 4 달 전
부모
커밋
b7512c86d0
1개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 8
      mkdocs.yml

+ 2 - 8
mkdocs.yml

@@ -37,11 +37,9 @@ theme:
     - content.tabs.link
     - content.code.annotate
     - content.code.copy
+    - navigation.expand
     - navigation.footer
     - navigation.tabs
-    - navigation.instant
-    - navigation.instant.prefetch
-    - navigation.instant.progress
     - navigation.sections
     - navigation.path
     - navigation.indexes
@@ -49,6 +47,7 @@ theme:
     - navigation.tracking
     - search.suggest
     - toc.follow
+    - toc.integrate
 
 extra:
   social:
@@ -125,11 +124,6 @@ plugins:
             Reference: 参考资料
             Output File Format: 输出文件格式
             Demo: 在线演示
-          admonition_translations:
-            Tip: 提示
-            Warning: 警告
-            Note: 注意
-            Important: 重要
   - mkdocs-video
 
 markdown_extensions: