Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1041 update spinx-rtd scheme #1120

Merged
merged 1 commit into from
Feb 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/requirements_for_rtd.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Jinja2==2.9.5
MarkupSafe==0.23
Pygments==2.2.0
SQLAlchemy-Utils==0.31.2
SQLAlchemy==1.0.12
Sphinx>=1.5
Sphinx==1.5.2
aldjemy==0.6.0
alembic==0.9.6
amqp==1.4.9
Expand All @@ -12,6 +15,7 @@ click-spinner
click==6.7
django-extensions==1.5.0
django==1.7.11
docutils==0.13.1
ecdsa==0.13
enum34==1.1.6
ete3==3.0.0b35
Expand All @@ -35,6 +39,7 @@ reentry==1.0.2
scipy<1.0.0
setuptools==36.6.0
six==1.11.0
sphinx-rtd-theme==0.2.5b2
tabulate==0.7.5
tzlocal==1.3
ujson==1.35
Expand Down
6 changes: 2 additions & 4 deletions docs/update_req_for_rtd.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ def update_req_for_rtd(pre_commit):

import setup_requirements

required_packages = list(setup_requirements.install_requires)

# Required version
req_for_rtd_lines = ['Sphinx>=1.5']
req_for_rtd_lines = list(setup_requirements.extras_require['docs'])

required_packages = list(setup_requirements.install_requires)
for package in required_packages:
# To avoid that it requires also the postgres libraries
if package.startswith('psycopg2'):
Expand Down