diff options
| -rw-r--r-- | docs/_swap.txt | 7 | ||||
| -rw-r--r-- | scripts/swap_sources.py | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/_swap.txt b/docs/_swap.txt new file mode 100644 index 00000000..a731b9a2 --- /dev/null +++ b/docs/_swap.txt @@ -0,0 +1,7 @@ +# Incremental MyST swap list +# One page stem per line (relative to docs/, no extension) +# Pages listed here will render from MD instead of RST at build time. +# +# Example: +# quick-start +# configuration/firewall/zone diff --git a/scripts/swap_sources.py b/scripts/swap_sources.py index f983dbfa..7e82e876 100644 --- a/scripts/swap_sources.py +++ b/scripts/swap_sources.py @@ -295,8 +295,6 @@ def main(argv=None): parser.error(f"docs directory not found: {docs_dir}") if args.swap: - import atexit - atexit.register(do_restore, docs_dir) do_swap(docs_dir) elif args.restore: do_restore(docs_dir) |
