diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f32901dac..4f59b7ca6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -26,3 +26,7 @@ sphinx: formats: - pdf - epub + +python: + install: + - requirements: jqm-all/jqm-doc/src/site/sphinx/requirements.txt diff --git a/jqm-all/jqm-doc/src/site/sphinx/conf.py b/jqm-all/jqm-doc/src/site/sphinx/conf.py index a778d7692..c5f69f38c 100644 --- a/jqm-all/jqm-doc/src/site/sphinx/conf.py +++ b/jqm-all/jqm-doc/src/site/sphinx/conf.py @@ -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' diff --git a/jqm-all/jqm-doc/src/site/sphinx/requirements.txt b/jqm-all/jqm-doc/src/site/sphinx/requirements.txt new file mode 100644 index 000000000..6c5d5d44e --- /dev/null +++ b/jqm-all/jqm-doc/src/site/sphinx/requirements.txt @@ -0,0 +1 @@ +sphinx-rtd-theme