From e1e3116b6ae10c72030dc9698a0fc8a84f4252e0 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~beaufils" Date: Mon, 1 Jun 2015 08:34:45 -0400 Subject: mutiple setup not possible --- doc/tips/laptop_wiki_with_git/discussion.mdwn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/tips') diff --git a/doc/tips/laptop_wiki_with_git/discussion.mdwn b/doc/tips/laptop_wiki_with_git/discussion.mdwn index 16e481383..b44285d5c 100644 --- a/doc/tips/laptop_wiki_with_git/discussion.mdwn +++ b/doc/tips/laptop_wiki_with_git/discussion.mdwn @@ -23,3 +23,7 @@ Managing two setup files (one for the server and one for the laptop) is however One solution is to allow multiple use of `--setup` on the command line : the first is the main setup file (the one from the server, e.g. `main.setup`) and the second is the specificities of the laptop clone (e.g `laptop.setup`). In such a situation ikiwiki is called with `ikiwiki --setup main.setup` on the server and `ikiwiki --setup main.setup --setup laptop.setup` on the laptop (merging both configuration data in order). This solution seems to work, but are there any bad side effects which I miss doing that (I thought that in IkiWiki code only one setupfile is keeped) ? --[[bbb]] + +Unfortunatley that does not fully work, as soon as `cgi_wrapper` is defined in setup file since each time ikiwiki reads a setup file it adds (not replace) a wrapper in `$config{wrappers}`. + +I am still trying to find an idea to share config data through server and laptop. --[[bbb]] -- cgit v1.2.3