From b13062aba81a8c5d60e5ac56bbb3115829ddc63d Mon Sep 17 00:00:00 2001 From: "Pey Lian Lim (Github)" <2090236+pllim@users.noreply.github.com> Date: Tue, 1 Mar 2022 10:38:49 -0500 Subject: [PATCH] MNT: Remove build_docs in tox --- setup.py | 11 ++--------- tox.ini | 9 --------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/setup.py b/setup.py index 4902fe7e1f..b24378e3ca 100755 --- a/setup.py +++ b/setup.py @@ -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 diff --git a/tox.ini b/tox.ini index f03e164f97..d28561ee5c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ [tox] envlist = py{37,38,39,310}-test{,-alldeps,-devdeps}{,-cov} - build_docs linkcheck codestyle pep517 @@ -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