Skip to content

Commit

Permalink
fix theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jobisoft committed Oct 23, 2023
1 parent ffdabfc commit 54c4596
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: conf.py

python:
install:
- requirements: "requirements.txt"
20 changes: 10 additions & 10 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store', 'overlay']
html_theme = 'sphinx_rtd_theme'

extensions = [
# ... other extensions here
'versionwarning.extension',
'apiheader',
'apimember',
'apisectionannotationhack',
'sphinx_rtd_theme',
]

html_theme = "sphinx_rtd_theme"
html_theme_options = {
# Toc options
'collapse_navigation': False,
Expand Down Expand Up @@ -43,15 +52,6 @@
versionwarning_older_title = 'Warning'
versionwarning_older_message = 'This is an outdated API documentation for Thunderbird {this}. See version {newest} for the current ESR of Thunderbird.'


extensions = [
# ... other extensions here
'versionwarning.extension',
'apiheader',
'apimember',
'apisectionannotationhack',
]

def setup(app):
#app.add_javascript("custom.js")
app.add_css_file('theme_overrides.css')
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx-rtd-theme==1.2.2

0 comments on commit 54c4596

Please sign in to comment.