Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #372 from xainag/rtd-fix
Browse files Browse the repository at this point in the history
move the sdk docs requirements to their own file
  • Loading branch information
little-dude authored Apr 8, 2020
2 parents 01a2760 + f20ea01 commit 0f0725f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
14 changes: 0 additions & 14 deletions .readthedocs.yml

This file was deleted.

7 changes: 7 additions & 0 deletions python/sdk/doc-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# readthedocs.io requires the dependencies for building the
# documentation to be available in a requirements.txt file
Sphinx~=2.2
m2r~=0.2
sphinxcontrib-mermaid~=0.3
sphinx-autodoc-typehints~=1.10
docutils~=0.16
9 changes: 2 additions & 7 deletions python/sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,8 @@
"pytest",
]

docs_require = [
"Sphinx~=2.2",
"m2r~=0.2",
"sphinxcontrib-mermaid~=0.3",
"sphinx-autodoc-typehints~=1.10",
"docutils~=0.16",
]
with open("doc-requirements.txt", "r") as f:
docs_require = [line for line in f.readlines() if not line.startswith("#")]

setup(
name="xain-sdk",
Expand Down

0 comments on commit 0f0725f

Please sign in to comment.