diff --git a/MANIFEST.in b/MANIFEST.in index 8defe7177..78cb836a6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -8,6 +8,7 @@ include LICENSE include MANIFEST.in include Makefile include README.rst +include docs/.readthedocs.yaml include docs/DEVGUIDE.rst include docs/DEVNOTES include docs/Makefile @@ -19,6 +20,7 @@ include docs/_static/sidebar.js include docs/conf.py include docs/index.rst include docs/make.bat +include docs/requirements.txt include make.bat include psutil/__init__.py include psutil/_common.py diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml new file mode 100644 index 000000000..24e302ef0 --- /dev/null +++ b/docs/.readthedocs.yaml @@ -0,0 +1,20 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: conf.py + +# RTD recommends specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..82133027c --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx +sphinx_rtd_theme