소스 검색

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",
     ]
 
-    html_sidebars = [
-        "versioning.html",
-    ]
+    html_sidebars = {
+        '**': [
+            'versioning.html',
+        ],
+    }
 
 Now rebuild the documentation: