From d76c79cb57b74216f94e448d3086b70a60a9a5fe Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 23 Mar 2023 17:24:46 -0400 Subject: Tinker a bit with tasks re: doc watching, doc browsing Requires an inflight set of changes to invocations --- tasks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tasks.py') 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"}, } ) -- cgit v1.2.3