summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2025-06-02 08:22:08 +0100
committernessita <124304+nessita@users.noreply.github.com>2025-08-25 10:51:10 -0300
commit43e4d0a1422d87cc804097f7eb127b6ffa07e840 (patch)
tree7a559d75c990963a272c8546022ee4d84924f968 /tox.ini
parentf81e6e3a53ee36e3f730a71aa55a5744982dd016 (diff)
Fixed #36485 -- Added lint-docs check in Tox and GitHub Actions.
The `check` docs target now runs spelling, black, and lint, so all current documentation quality checks can be run with a single command. Also documented the lint-docs check's availability and usage.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c7d9ac6b86..ec90ceb1e4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,7 @@ envlist =
flake8
docs
isort
+ lint-docs
# Add environment to use the default python3 installation
[testenv:py3]
@@ -87,3 +88,13 @@ allowlist_externals =
commands =
npm install
npm test
+
+[testenv:lint-docs]
+basepython = python3
+usedevelop = false
+allowlist_externals =
+ make
+deps = sphinx-lint
+changedir = docs
+commands =
+ make lint