diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000000000000000000000000000000000000..71f228c97b31a0abfcd2450108af369a37201a4f --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,12 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 +sphinx: + configuration: hpvm/docs/conf.py +python: + version: 3.6 + install: + - requirements: hpvm/docs/requirements.txt diff --git a/hpvm/docs/README.md b/hpvm/docs/README.md index c93b7ed1517061d4417b0924a51c62b3726a7ca9..99bcc3f7d4e14a29e3bd20cf1a393e88e1d4e713 100644 --- a/hpvm/docs/README.md +++ b/hpvm/docs/README.md @@ -4,10 +4,10 @@ We use Sphinx for generating the API and reference documentation. ## Instructions -Install the following Python packages needed to build the documentation by entering: +Install Sphinx needed to build the documentation by entering: ```bash -pip3 install sphinx sphinx-autodoc-typehints sphinx-rtd-theme numpydoc +pip3 install -r requirements.txt ``` To build the HTML documentation, enter:: diff --git a/hpvm/docs/requirements.txt b/hpvm/docs/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..3226d75e97cdc8caf52fb4d524b615bd3441c618 --- /dev/null +++ b/hpvm/docs/requirements.txt @@ -0,0 +1,4 @@ +sphinx>=3.5 +sphinx-autodoc-typehints>=1.11 +sphinx-rtd-theme>=0.5 +numpydoc>=1.1 \ No newline at end of file