Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelavega committed Oct 6, 2023
1 parent 504cd24 commit 5768c74
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions doc/conf.py
Expand Up @@ -22,18 +22,11 @@
u'', 'manual'),
]

# Only import and set the theme if we're building docs locally
if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_style = 'https://www.fiware.org/style/fiware_readthedocs.css'
else:
html_context = {
'css_files': [
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
'https://www.fiware.org/style/fiware_readthedocs.css',
'https://www.fiware.org/style/fiware_readthedocs_publication.css',
],
}
html_context = {
'css_files': [
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
'https://www.fiware.org/style/fiware_readthedocs.css',
'https://www.fiware.org/style/fiware_readthedocs_publication.css',
],
}

0 comments on commit 5768c74

Please sign in to comment.