Skip to content

Commit

Permalink
fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Oct 1, 2020
1 parent 63813d1 commit 4a478f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Get the project root dir, which is the parent dir of this
sys.path.insert(0, os.path.abspath('..'))

import lega # noqa: E402
__version__ = "1.0"

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -78,9 +78,9 @@ def __getattr__(cls, name):
# built documents.
#
# The short X.Y version.
version = lega.__version__
version = __version__
# The full version, including alpha/beta/rc tags.
release = lega.__version__
release = __version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ max-complexity = 12
[testenv:docs]
skip_install = true
deps =
.[docs]
sphinx >= 1.4
sphinx_rtd_theme
recommonmark
commands = sphinx-build -W -c docs/ -b html docs/ docs/_build/html
sphinx-build -W -blinkcheck -d docs/_build/doctrees docs/ docs/_build/html

Expand Down

0 comments on commit 4a478f5

Please sign in to comment.