Skip to content

Commit

Permalink
Prepare to host on readthedocs.org (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
c24t authored Mar 2, 2020
1 parent 11467c4 commit 344d72b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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

build:
image: latest

python:
version: 3.8
install:
- requirements: docs-requirements.txt
10 changes: 10 additions & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sphinx~=2.4
sphinx-rtd-theme~=0.4
sphinx-autodoc-typehints~=1.10.2

# Required by ext packages
opentracing~=2.2.0
Deprecated>=1.2.6
thrift>=0.10.0
pymongo~=3.1
flask~=1.0
12 changes: 7 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,16 @@ commands =
[testenv:docs]
deps =
-c dev-requirements.txt
-c docs-requirements.txt
sphinx
sphinx-rtd-theme
sphinx-autodoc-typehints
opentracing~=2.2.0
Deprecated>=1.2.6
thrift>=0.10.0
pymongo ~= 3.1
flask~=1.0
# Required by ext packages
opentracing
Deprecated
thrift
pymongo
flask

changedir = docs

Expand Down

0 comments on commit 344d72b

Please sign in to comment.