mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
docs: theme fixes
- register theme as extension - add sphinxcontrib.jquery The html generated uses jquery ($(...)), but sphinx does not include it anymore since a while.
This commit is contained in:
parent
46c44b9d9d
commit
11ac0cdc65
2 changed files with 4 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ def set_rst_settings(app):
|
|||
|
||||
|
||||
def setup(app):
|
||||
app.setup_extension('sphinxcontrib.jquery')
|
||||
app.add_css_file('css/borg.css')
|
||||
app.connect('builder-inited', set_rst_settings)
|
||||
|
||||
|
|
@ -258,6 +259,8 @@ extensions = [
|
|||
'sphinx.ext.todo',
|
||||
'sphinx.ext.coverage',
|
||||
'sphinx.ext.viewcode',
|
||||
'sphinxcontrib.jquery', # jquery is not included anymore by default
|
||||
'guzzle_sphinx_theme', # register the theme as an extension to generate a sitemap.xml
|
||||
]
|
||||
|
||||
extlinks = {
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
sphinx
|
||||
sphinxcontrib-jquery
|
||||
guzzle_sphinx_theme
|
||||
|
|
|
|||
Loading…
Reference in a new issue