aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/conditional_underlay_files.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-28 00:53:00 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-28 00:53:00 +0000
commite220fbf35d727dca7ed835f797be89381afc873c (patch)
tree712ce744fd6d701ad6b435a0af2e0a4894443248 /doc/todo/conditional_underlay_files.mdwn
parent350a0638968603458b1e4ddd1efc1bccd6e4a606 (diff)
downloadikiwiki-e220fbf35d727dca7ed835f797be89381afc873c.tar
ikiwiki-e220fbf35d727dca7ed835f797be89381afc873c.tar.gz
thoughts, responses
Diffstat (limited to 'doc/todo/conditional_underlay_files.mdwn')
-rw-r--r--doc/todo/conditional_underlay_files.mdwn15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/todo/conditional_underlay_files.mdwn b/doc/todo/conditional_underlay_files.mdwn
index e5dfdf420..03381943f 100644
--- a/doc/todo/conditional_underlay_files.mdwn
+++ b/doc/todo/conditional_underlay_files.mdwn
@@ -8,4 +8,17 @@ I'd like to see some way to include certain files from the underlay only when th
* Include wikiicons/diff.png (and the wikiicons directory) only if you enable the CGI.
* Include a hypothetical restructuredtexthelp.rst or similar for other formats only with those formats enabled.
-I can see two good ways to implement this. Ideally, with [[conditional_text_based_on_ikiwiki_features]] available, ikiwiki could parse a page like conditionalpages.mdwn, which could contain a set of conditional-wrapped page names; that seems like the most elegant and ikiwiki-like approach. Alternatively, [[/ikiwiki.setup]] could contain a Perl-generated exclude option by default; that would work, but it seems hackish. \ No newline at end of file
+I can see two good ways to implement this. Ideally, with
+[[conditional_text_based_on_ikiwiki_features]] available, ikiwiki could
+parse a page like conditionalpages.mdwn, which could contain a set of
+conditional-wrapped page names; that seems like the most elegant and
+ikiwiki-like approach. Alternatively, [[/ikiwiki.setup]] could contain a
+Perl-generated exclude option by default; that would work, but it seems
+hackish.
+
+> Another way might be to have a third directory of source files where
+> plugins could drop in pages, and only build the files from there if their
+> plugins were enabled.
+>
+> Using the conditionals in a page to control what other pages get built
+> feels complex to me, --[[Joey]]