Skip to content

Commit

Permalink
Modernize sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
vkurup committed May 19, 2018
1 parent 25099c1 commit e5e303c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/_ext/rapidsmsdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
json = None

from sphinx import addnodes, roles
from sphinx.util.compat import Directive
from docutils.parsers.rst import Directive


def setup(app):
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
extensions = ['rapidsmsdocs', 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ commands = {toxinidir}/check_for_missing_migrations.sh

[testenv:docs]
basepython = python2.7
deps = Sphinx>=1.3,<1.4
deps = Sphinx>=1.7,<1.8
Django>=1.11,<2.0
{[default]deps}
commands =
{envbindir}/sphinx-build -a -n -W -b html -d docs/_build/doctrees docs docs/_build/html
{envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html

[testenv:flake8]
basepython = python3.5
Expand Down

0 comments on commit e5e303c

Please sign in to comment.