From: Trevor Bramwell Date: Tue, 29 Jun 2021 18:17:47 +0000 (-0700) Subject: Add RTD Configuration file X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4def62fe1cb1c65b98e449a79ec05bfd2f5fce36;p=opnfvdocs.git Add RTD Configuration file Builds for the master branch broke on RTD broke with the move of the requirements.txt file from etc/. Updating the path on RTD for requirements fixes this, but at the cost of breaking all the historic stable branch builds. Using .readthedocs.yml the branch can be configured with it's own location for requirements separate from the global configuration. The setting to disable cloning of submodules is also included in this configuration. Signed-off-by: Trevor Bramwell --- diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 000000000..e24c07619 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,15 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +--- +version: 2 + +sphinx: + configuration: docs/conf.py + +submodules: + exclude: all + +python: + version: 3.7 + install: + - requirements: docs/requirements.txt