From 9806695c274509acbf883b5dc12c462da842e9d0 Mon Sep 17 00:00:00 2001 From: Hatice Karatay Date: Fri, 22 Nov 2024 15:40:09 -0500 Subject: [PATCH] Add tox env for local docs build --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index 07eecb30c0..c262fa654b 100644 --- a/tox.ini +++ b/tox.ini @@ -95,6 +95,13 @@ description = check code style, e.g. with flake8 deps = flake8 commands = flake8 jdaviz --count +[testenv:docs] +changedir = docs +description = Build the Shinx HTML docs +extras = docs +commands = + sphinx-build -b html . _build/html + [testenv:securityaudit] skip_install = true changedir = .