diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2022-03-25 12:06:51 +0100 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2022-05-24 16:58:36 -0400 |
commit | 1e167a4aadcf254cc8b755b3b45843604de58cb2 (patch) | |
tree | 89ebf6ef02059cd2615956ab4b05834ebde39748 /docs/_scripts/siphon-process | |
parent | 26c39878ad8c2e5e673956327badcd6e419488db (diff) |
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 <nathan.skrzypczak@gmail.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'docs/_scripts/siphon-process')
-rwxr-xr-x | docs/_scripts/siphon-process | 2 |
1 files changed, 1 insertions, 1 deletions
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 |