summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-03-23 17:24:46 -0400
committerJeff Forcier <jeff@bitprophet.org>2023-04-16 20:15:09 -0400
commitd76c79cb57b74216f94e448d3086b70a60a9a5fe (patch)
tree7840c3027dde0befb0837955c96736ebbcb51016
parent3929bf600948c8eae67618c677cbf86d4aab00f4 (diff)
Tinker a bit with tasks re: doc watching, doc browsing
Requires an inflight set of changes to invocations
-rw-r--r--dev-requirements.txt1
-rw-r--r--tasks.py6
2 files changed, 5 insertions, 2 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 26d0efa4..b409ce7a 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -16,6 +16,7 @@ coverage>=6.2,<7
# Documentation tools
alabaster==0.7.13
releases>=2.1
+watchdog<2
# Debuggery
icecream>=2.1
# Self (sans GSS which is a pain to bother with most of the time)
diff --git a/tasks.py b/tasks.py
index c14abacb..1f5e999c 100644
--- a/tasks.py
+++ b/tasks.py
@@ -4,7 +4,7 @@ from shutil import rmtree, copytree
from invoke import Collection, task
from invocations.checks import blacken
-from invocations.docs import docs, www, sites
+from invocations.docs import docs, www, sites, watch_docs
from invocations.packaging.release import ns as release_coll, publish
from invocations.testing import count_errors
@@ -137,6 +137,7 @@ ns = Collection(
release_coll,
docs,
www,
+ watch_docs,
sites,
count_errors,
blacken,
@@ -152,6 +153,7 @@ ns.configure(
"changelog_file": join(
www.configuration()["sphinx"]["source"], "changelog.rst"
),
- }
+ },
+ "docs": {"browse": "remote"},
}
)