Skip to content

Commit 9f9799a

Browse files
committed
docs: fix css and js overrides
Signed-off-by: Francesco De Martino <[email protected]>
1 parent 0c0d833 commit 9f9799a

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

docs/conf.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,13 @@
209209
"base_url": "https://aws-parallelcluster.readthedocs.io/latest/"
210210
}
211211

212-
html_context = {
213-
'css_files': [
214-
'_static/theme_overrides.css'
215-
]
216-
}
217212

218-
html_js_files = [
219-
'custom.js'
220-
]
213+
def setup(app):
214+
app.add_css_file('theme_overrides.css')
215+
app.add_javascript('custom.js')
221216

222-
# -- Options for LaTeX output ---------------------------------------------
223217

218+
# -- Options for LaTeX output ---------------------------------------------
224219
latex_elements = {
225220
# The paper size ('letterpaper' or 'a4paper').
226221
#'papersize': 'letterpaper',

0 commit comments

Comments
 (0)