diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..575b380 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,17 @@ +# Read the Docs configuration, see https://docs.readthedocs.io/en/stable/config-file/v2.html +version: 2 + +build: + os: ubuntu-24.04 + tools: + python: "3.12" + +sphinx: + configuration: doc/conf.py + +python: + install: + - requirements: doc/requirements.txt + # autodoc reads the docstrings of the compiled extension + - method: pip + path: . diff --git a/doc/conf.py b/doc/conf.py index 623ee08..ce6c59a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -162,7 +162,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +html_static_path = [] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..6966869 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1 @@ +sphinx