Skip to content

Commit

Permalink
Merge pull request #1135 from pllim/tox-tox-toxic-docs
Browse files Browse the repository at this point in the history
MNT: Remove build_docs in tox
  • Loading branch information
pllim authored Mar 1, 2022
2 parents 2010a0b + b13062a commit da36ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,8 @@

DOCS_HELP = """
Note: building the documentation is no longer done using
'python setup.py build_docs'. Instead you will need to run:
tox -e build_docs
If you don't already have tox installed, you can install it with:
pip install tox
You can also build the documentation with Sphinx directly using::
'python setup.py build_docs'. Instead you will need to
build the documentation with Sphinx directly using::
pip install -e .[docs]
cd docs
Expand Down
9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
envlist =
py{37,38,39,310}-test{,-alldeps,-devdeps}{,-cov}
build_docs
linkcheck
codestyle
pep517
Expand Down Expand Up @@ -67,14 +66,6 @@ commands =
cov: pytest --pyargs jdaviz {toxinidir}/docs --cov jdaviz --cov-config={toxinidir}/setup.cfg {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml

[testenv:build_docs]
changedir = docs
description = invoke sphinx-build to build the HTML docs
extras = docs
commands =
pip freeze
sphinx-build -W -b html . _build/html

[testenv:linkcheck]
changedir = docs
description = check the links in the HTML docs
Expand Down

0 comments on commit da36ec2

Please # to comment.