diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000..ff8d7abb60 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,16 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.12" + jobs: + pre_build: + - cp doc/conf.py.in doc/conf.py + +sphinx: + configuration: doc/conf.py + +python: + install: + - requirements: doc/requirements.txt diff --git a/doc/conf.py.in b/doc/conf.py.in index 2add96fd1c..e74c51fdf6 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -94,7 +94,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000000..483a4e9600 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1 @@ +sphinx_rtd_theme