浏览代码

Newer sphinx prefer html_sidebars to be a dict

Mikhail Astafev 4 年之前
父节点
当前提交
c0328526a2
共有 1 个文件被更改,包括 5 次插入3 次删除
  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",
         "_templates",
     ]
     ]
 
 
-    html_sidebars = [
-        "versioning.html",
-    ]
+    html_sidebars = {
+        '**': [
+            'versioning.html',
+        ],
+    }
 
 
 Now rebuild the documentation:
 Now rebuild the documentation: