Skip to content

Commit

Permalink
Doc: added RTFD theme back
Browse files Browse the repository at this point in the history
  • Loading branch information
marcanpilami committed Nov 14, 2024
1 parent ea14e62 commit 8e0afc1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ sphinx:
formats:
- pdf
- epub

python:
install:
- requirements: jqm-all/jqm-doc/src/site/sphinx/requirements.txt
8 changes: 7 additions & 1 deletion jqm-all/jqm-doc/src/site/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@
#release = '1.0'
hightlight_language = 'java'

html_theme = 'bizstyle'
if on_rtd:
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'navigation_depth': 3,
}
else:
html_theme = 'bizstyle'
1 change: 1 addition & 0 deletions jqm-all/jqm-doc/src/site/sphinx/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinx-rtd-theme

0 comments on commit 8e0afc1

Please sign in to comment.