From 1e167a4aadcf254cc8b755b3b45843604de58cb2 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Fri, 25 Mar 2022 12:06:51 +0100 Subject: docs: make docs build incremental This patch makes the `make docs` directive incremental avoiding re-running the siphon when the source hasn't changed, and leveraging sphinx internal cache. It adds a `make rebuild-docs` directive for cases where this caching logic might break, e.g. in CI. The virtualenv doesn't also get recreated on each build, which might be enough when writing docs, provided automated process leverage its rebuild counterpart. Type: improvement Change-Id: Ie90de3adebeed017b249cad81c6c160719f71e8d Signed-off-by: Nathan Skrzypczak Signed-off-by: Dave Wallace --- docs/_scripts/siphon-generate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_scripts/siphon-generate') diff --git a/docs/_scripts/siphon-generate b/docs/_scripts/siphon-generate index 9b69c52cf17..f0087f30043 100755 --- a/docs/_scripts/siphon-generate +++ b/docs/_scripts/siphon-generate @@ -24,7 +24,7 @@ import os import siphon DEFAULT_LOGFILE = None -DEFAULT_LOGLEVEL = "info" +DEFAULT_LOGLEVEL = "warning" DEFAULT_OUTPUT = "build-root/docs/siphons" DEFAULT_PREFIX = os.getcwd() -- cgit 1.2.3-korg