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-process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_scripts/siphon-process') diff --git a/docs/_scripts/siphon-process b/docs/_scripts/siphon-process index cbee1e90786..7cc713c515b 100755 --- a/docs/_scripts/siphon-process +++ b/docs/_scripts/siphon-process @@ -25,7 +25,7 @@ import sys import siphon DEFAULT_LOGFILE = None -DEFAULT_LOGLEVEL = "info" +DEFAULT_LOGLEVEL = "warning" DEFAULT_SIPHON = "clicmd" DEFAULT_FORMAT = "markdown" DEFAULT_OUTPUT = None -- cgit 1.2.3-korg