|
|
@ -147,15 +147,18 @@ todo_include_todos = True |
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css". |
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css". |
|
|
|
html_static_path = ['_static'] |
|
|
|
html_static_path = ['_static'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html#adding-custom-css-or-javascript-to-sphinx-documentation |
|
|
|
def setup(app): |
|
|
|
html_css_files = [ |
|
|
|
# Some csv-table tables in the RTD theme were scrolling horizontally. |
|
|
|
"css/custom.css", |
|
|
|
# See https://github.com/snide/sphinx_rtd_theme/issues/117 |
|
|
|
] |
|
|
|
# Apparently the placement of this function is significant. It wasn't |
|
|
|
# def setup(app): |
|
|
|
# working at the end of the file. |
|
|
|
# # Some csv-table tables in the RTD theme were scrolling horizontally. |
|
|
|
# See https://github.com/syncany/syncany-docs/blob/82166518720051e413231d621c3b23b9ac35cbf6/source/conf.py#L135 |
|
|
|
# # See https://github.com/snide/sphinx_rtd_theme/issues/117 |
|
|
|
# app.add_javascript("js/custom.js") |
|
|
|
# # Apparently the placement of this function is significant. It wasn't |
|
|
|
app.add_stylesheet("css/custom.css") |
|
|
|
# # working at the end of the file. |
|
|
|
|
|
|
|
# # See https://github.com/syncany/syncany-docs/blob/82166518720051e413231d621c3b23b9ac35cbf6/source/conf.py#L135 |
|
|
|
|
|
|
|
# # app.add_javascript("js/custom.js") |
|
|
|
|
|
|
|
# app.add_stylesheet("css/custom.css") |
|
|
|
|
|
|
|
|
|
|
|
# Add any extra paths that contain custom files (such as robots.txt or |
|
|
|
# Add any extra paths that contain custom files (such as robots.txt or |
|
|
|
# .htaccess) here, relative to this directory. These files are copied |
|
|
|
# .htaccess) here, relative to this directory. These files are copied |
|
|
|