mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 16:26:29 +00:00
style changes of previous changeset did not work on rtd, try 2
This commit is contained in:
parent
077bcd0cde
commit
42e9a77f5b
1 changed files with 9 additions and 1 deletions
10
docs/conf.py
10
docs/conf.py
|
@ -99,6 +99,15 @@
|
||||||
import sphinx_rtd_theme
|
import sphinx_rtd_theme
|
||||||
html_theme = 'sphinx_rtd_theme'
|
html_theme = 'sphinx_rtd_theme'
|
||||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||||
|
html_style = 'css/borg.css'
|
||||||
|
else:
|
||||||
|
html_context = {
|
||||||
|
'css_files': [
|
||||||
|
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
|
||||||
|
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
|
||||||
|
'_static/css/borg.css',
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
# Theme options are theme-specific and customize the look and feel of a theme
|
||||||
# further. For a list of options available for each theme, see the
|
# further. For a list of options available for each theme, see the
|
||||||
|
@ -128,7 +137,6 @@
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# 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 = ['borg_theme']
|
html_static_path = ['borg_theme']
|
||||||
html_style = 'css/borg.css'
|
|
||||||
|
|
||||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
# using the given strftime format.
|
# using the given strftime format.
|
||||||
|
|
Loading…
Reference in a new issue