diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d0bed30d..e871ad56 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -19,13 +19,15 @@ sphinx: configuration: readthedocs/conf.py # Optionally build your docs in additional formats such as PDF and ePub -# formats: -# - pdf -# - epub +formats: + - pdf + - epub # Optional but recommended, declare the Python requirements required # to build your documentation # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html -# python: -# install: -# - requirements: docs/requirements.txt \ No newline at end of file +python: + install: +# - requirements: docs/requirements.txt + - method: pip + path: sphinx-rtd-theme \ No newline at end of file diff --git a/readthedocs/conf.py b/readthedocs/conf.py index feca3853..6ebd91a4 100644 --- a/readthedocs/conf.py +++ b/readthedocs/conf.py @@ -2,7 +2,6 @@ project = 'RetroDECK' author = 'RetroDECK Team' extensions = [ - 'sphinx_rtd_theme', 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', @@ -11,9 +10,9 @@ extensions = [ 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', + 'sphinx_rtd_theme', ] -templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' language = 'English'