- Updates to the sphinx conf - Applied Mock fixes to build on Python 3. - Group patches at bottom of conf file. - Use just a major.minor for version. - Specify Sphinx 2.0 version requirement. - Move requirements.txt to docs dir. - Add readthedocs config - Fix docstring code block rst formatting issue.
21 lines
533 B
YAML
21 lines
533 B
YAML
# .readthedocs.yml
|
|
# Read the Docs configuration file
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
|
|
# Required
|
|
version: 2
|
|
|
|
# Build documentation in the docs/ directory with Sphinx
|
|
sphinx:
|
|
configuration: docs/conf.py
|
|
|
|
# Optionally build your docs in additional formats such as PDF and ePub
|
|
formats: all
|
|
|
|
# Optionally set the version of Python and requirements required to build your docs
|
|
python:
|
|
version: 3.7
|
|
install:
|
|
- requirements: requirements.txt
|
|
- requirements: docs/requirements.txt
|