Initializing ReadTheDocs [skip ci]

This commit is contained in:
XargonWan 2023-08-28 16:45:47 +02:00
parent 255c66a82b
commit 0c7daa475d
2 changed files with 9 additions and 8 deletions

View file

@ -19,13 +19,15 @@ sphinx:
configuration: readthedocs/conf.py configuration: readthedocs/conf.py
# Optionally build your docs in additional formats such as PDF and ePub # Optionally build your docs in additional formats such as PDF and ePub
# formats: formats:
# - pdf - pdf
# - epub - epub
# Optional but recommended, declare the Python requirements required # Optional but recommended, declare the Python requirements required
# to build your documentation # to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python: python:
# install: install:
# - requirements: docs/requirements.txt # - requirements: docs/requirements.txt
- method: pip
path: sphinx-rtd-theme

View file

@ -2,7 +2,6 @@ project = 'RetroDECK'
author = 'RetroDECK Team' author = 'RetroDECK Team'
extensions = [ extensions = [
'sphinx_rtd_theme',
'sphinx.ext.autodoc', 'sphinx.ext.autodoc',
'sphinx.ext.doctest', 'sphinx.ext.doctest',
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
@ -11,9 +10,9 @@ extensions = [
'sphinx.ext.mathjax', 'sphinx.ext.mathjax',
'sphinx.ext.ifconfig', 'sphinx.ext.ifconfig',
'sphinx.ext.viewcode', 'sphinx.ext.viewcode',
'sphinx_rtd_theme',
] ]
templates_path = ['_templates']
source_suffix = '.rst' source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
language = 'English' language = 'English'