Skip to content

Commit

Permalink
WIP: Install documentaion dependencies during ReadTheDocs build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajedi32 committed Nov 16, 2018
1 parent a9fa4ab commit e6d8afc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python:
version: 3.5
setup_py_install: true
extra_requirements:
- docs
5 changes: 1 addition & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ name = "pypi"
echovr-api = {editable = true, path = "."}

[dev-packages]
echovr-api = {editable = true, extras = ["docs"], path = "."}
setuptools = "*"
wheel = "*"
sphinx = "*"
sphinxcontrib-apidoc = "*"
sphinx-autodoc-typehints = "*"
"m2r" = "*"

[requires]
python_version = "3.7"
10 changes: 5 additions & 5 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
install_requires=[
"requests"
],
extras_require={
'docs': [
'sphinx >=1.8.2, <2.0.0a0',
'sphinx-autodoc-typehints >=1.5.0, <2.0.0a0',
'sphinxcontrib-apidoc >=0.3.0, <0.4.0a0',
'm2r >=0.2.1, <0.3.0a0',
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit e6d8afc

Please sign in to comment.