Skip to content

Commit 8d64d66

Browse files
committed
switch to furo, a simpler theme
the theme allows us to use more top level sections
1 parent 3994ec0 commit 8d64d66

34 files changed

+43
-111
lines changed

docs/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
@app.route("/")
2222
async def forward_to_index(request):
23-
return response.redirect("/docs/content/index.html")
23+
return response.redirect("/docs/index.html")
2424

2525

2626
mount, element = multiview()
File renamed without changes.
File renamed without changes.

docs/source/exts/widget_example.py renamed to docs/source/_exts/widget_example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import textwrap
21
from pathlib import Path
32

43
from sphinx.application import Sphinx
@@ -112,7 +111,7 @@ def _literal_include_js_lines(name, linenos):
112111

113112

114113
def _string_to_nested_lines(content):
115-
return StringList(textwrap.indent(content, " ").split("\n"))
114+
return StringList(content.split("\n"))
116115

117116

118117
def setup(app: Sphinx) -> None:

0 commit comments

Comments
 (0)