From 0be7cebb3d0c2b401a51bfa708294acd3bb319c2 Mon Sep 17 00:00:00 2001
From: smcv <smcv@web>
Date: Mon, 30 Nov 2015 17:52:14 -0400
Subject: [PATCH] it is deliberate that internal options aren't saved

---
 doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn b/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn
index cf7bc63cc..236460f6b 100644
--- a/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn
+++ b/doc/bugs/dumpsetup_does_not_save_wikistatedir.mdwn
@@ -3,3 +3,10 @@ Calling ikiwiki with a bunch of options, including the `--dumpsetup somefile.set
 Strange since same [[kind of bugs|bugs/dumpsetup_does_not_save_destdir]] have been fixed for `destdir`.
 
 --[[bbb]]
+
+> Options flagged as `internal` are not saved, and are not meant to be useful to save.
+> `wikistatedir` is one of those. Why do you want `wikistatedir` to be in the dumped setup?
+>
+> `wikistatedir` is always `$config{srcdir}/.ikiwiki` unless you are doing something
+> incredibly strange.
+> --[[smcv]]
-- 
2.39.5