Add alternate MkDocs configuration for building offline documentation
Marco Ricci

Marco Ricci commited on 2024-07-22 14:05:42
Zeige 3 geänderte Dateien mit 10 Einfügungen und 4 Löschungen.

... ...
@@ -46,11 +46,11 @@ theme:
46 46
   custom_dir: docs-overrides
47 47
 
48 48
 plugins:
49
-  - offline:
50
-      enabled: false  # set to true for offline versions
51
-  #- privacy:
49
+  offline:
50
+    enabled: false  # Use mkdocs_offline.yml for offline versions instead!
51
+  #privacy:
52 52
   #  enabled: true
53
-  - mkdocstrings:
53
+  mkdocstrings:
54 54
     handlers:
55 55
       python:
56 56
         import:
... ...
@@ -0,0 +1,5 @@
1
+INHERIT: mkdocs.yml
2
+
3
+plugins:
4
+  offline:
5
+    enabled: true
... ...
@@ -0,0 +1 @@
1
+Add alternate MkDocs configuration for building the documentation in offline mode.
0 2