Skip to content

Commit

Permalink
doc requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Apr 21, 2020
1 parent 60a59d5 commit b5631b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -68,7 +68,7 @@ def _fix_import_path():
singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
html_static_path = ["_static"]
html_logo = "_static/wtforms.png"
html_title = f"WTForms Documentation ({version})"
html_title = "WTForms Documentation ({})".format(version)
html_show_sourcelink = False

# LaTeX ----------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
@@ -0,0 +1,3 @@
Sphinx
Pallets-Sphinx-Themes
sphinx-issues
10 changes: 3 additions & 7 deletions tox.ini
Expand Up @@ -12,20 +12,16 @@ deps =
coverage
babel
email_validator
--requirement docs/requirements.txt
commands =
coverage run -p -m pytest {posargs}

[testenv:docs-html]
deps =
sphinx
sphinx-issues
Pallets-Sphinx-Themes
deps = --requirement docs/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html

[testenv:docs-linkcheck]
deps =
sphinx
sphinx-issues
deps = --requirement docs/requirements.txt
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs {envtmpdir}/linkcheck

[testenv:coverage-report]
Expand Down

0 comments on commit b5631b4

Please sign in to comment.