Skip to content

Commit

Permalink
BUG: update docs build commands in tox
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Nov 16, 2023
1 parent 56ee8f2 commit ba52163
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ deps = flake8
commands = flake8 astroquery --count

[testenv:build_docs]
changedir = {toxinidir}
changedir = {toxinidir}/docs
description = Building the narrative and API docs
extras = docs
requires =
sphinx
commands =
python -m pip freeze
python setup.py build_sphinx -W
sphinx-build -W . _build/html


[testenv:linkcheck]
changedir = {toxinidir}
changedir = {toxinidir}/docs
description = check the links in the HTML docs
extras = docs
commands =
python -m pip freeze
python setup.py build_sphinx -W -b linkcheck
sphinx-build -W --keep-going -b linkcheck . _build/html

0 comments on commit ba52163

Please sign in to comment.