Skip to content

Commit

Permalink
Merge pull request #2883 from bsipocz/CI_fix_tox_commands
Browse files Browse the repository at this point in the history
BUG: update docs build commands in tox
  • Loading branch information
bsipocz authored Nov 16, 2023
2 parents 56ee8f2 + ba52163 commit ebf4c48
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 ebf4c48

Please sign in to comment.