Przeglądaj źródła

Fixes #12104: Restore copy-to-clipboard & footer navigation in docs

jeremystretch 2 lat temu
rodzic
commit
0ac8419005
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      mkdocs.yml

+ 5 - 1
mkdocs.yml

@@ -8,6 +8,9 @@ theme:
   custom_dir: docs/_theme/
   custom_dir: docs/_theme/
   icon:
   icon:
     repo: fontawesome/brands/github
     repo: fontawesome/brands/github
+  features:
+    - content.code.copy
+    - navigation.footer
   palette:
   palette:
     - media: "(prefers-color-scheme: light)"
     - media: "(prefers-color-scheme: light)"
       scheme: default
       scheme: default
@@ -20,7 +23,8 @@ theme:
         icon: material/lightbulb
         icon: material/lightbulb
         name: Switch to Light Mode
         name: Switch to Light Mode
 plugins:
 plugins:
-  - search
+  - search:
+      lang: en
   - mkdocstrings:
   - mkdocstrings:
       handlers:
       handlers:
         python:
         python: