Skip to content

Commit

Permalink
Added .readthedocs.yml to better control readthedocs documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
perwin committed Jul 19, 2019
1 parent e1845a9 commit 8b4e350
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .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

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# 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
system_packages: true

install:
- requirements: requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ os:
- linux

language: python
# we want to run the build & unit tests (as specified under "script" below)
# for each of Python 3.5, 3.6, and 3.7
python:
- "3.5"
- "3.6"
Expand Down

0 comments on commit 8b4e350

Please sign in to comment.