Parcourir la source

Newer sphinx prefer html_sidebars to be a dict

Mikhail Astafev il y a 4 ans
Parent
commit
c0328526a2
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      docs/quickstart.rst

+ 5 - 3
docs/quickstart.rst

@@ -59,9 +59,11 @@ Assuming that you're using a theme with sidebar widget support, you just need to
         "_templates",
     ]
 
-    html_sidebars = [
-        "versioning.html",
-    ]
+    html_sidebars = {
+        '**': [
+            'versioning.html',
+        ],
+    }
 
 Now rebuild the documentation: