Skip to content

Commit ecb8e82

Browse files
committed
readthedocs: overriding layout.html wasn't working, switch to overriding page.html
inspired by readthedocs/readthedocs.org#152 . 10y old, and still feels like a hack, but I dunno. also related:
1 parent d624001 commit ecb8e82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/_templates/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends "!layout.html" %}
1+
{% extends "layout.html" %}
22

33
{%- block navigation %}
44

docs/conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@
191191
#html_use_smartypants = True
192192

193193
# Custom sidebar templates, maps document names to template names.
194-
html_sidebars = {
195-
'**': ['description.html', 'localtoc.html', 'searchbox.html'],
196-
}
194+
# html_sidebars = {
195+
# '**': ['description.html', 'localtoc.html', 'searchbox.html'],
196+
# }
197197

198198
# These folders are copied to the documentation's HTML output
199199
html_static_path = ['_static']

0 commit comments

Comments
 (0)