diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..7f673e1 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,17 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +# Build documentation in the Python/doc directory +sphinx: + configuration: Python/doc/source/conf.py + +# Python version and requirements +python: + version: "3.11" + install: + - method: pip + path: Python + - method: pip + requirements: Python/doc/source/requirements.txt diff --git a/Python/doc/source/conf.py b/Python/doc/source/conf.py index 6a84ca0..e5021f8 100644 --- a/Python/doc/source/conf.py +++ b/Python/doc/source/conf.py @@ -73,7 +73,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/Python/doc/source/requirements.txt b/Python/doc/source/requirements.txt index 81f7aec..48eed02 100644 --- a/Python/doc/source/requirements.txt +++ b/Python/doc/source/requirements.txt @@ -1,3 +1,2 @@ -./Python sphinx sphinxcontrib-napoleon