]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/pagespec/discussion.mdwn
response
[ikiwiki.git] / doc / ikiwiki / pagespec / discussion.mdwn
index 4c553925a9fafbcc9df4a4c66936210e5439db7e..1ffb89d6cd5328ea1fded24e5ad87ca5e6ccd307 100644 (file)
@@ -103,3 +103,32 @@ which does not work though. I also tried it in this Wiki. Just take a look at th
 
 > Unlike wikilinks, pagespecs match relative to the top of the wiki by
 > default. So lose the "/" and it will work. --[[Joey]]
+
+
+----
+
+I'd like to create a collapsable tree with a map, eg
+
+* top level item
+
+* * second level item1
+
+* * * content 1
+
+* * * content 2
+
+* * * content 3
+
+* * second level item2
+
+* * second level item3
+
+
+but I can't work out how to specify "all items at this level, and all directories at ../ and all the other directories to the root
+
+any ideas?
+
+> I don't think pagespecs currently support that. How would such a made-up
+> pagespec look? I can imagine it supporting something like `glob(../*) and not
+> glob(../*/*)` to match all "directories" of the parent page, and so on up
+> to the root. --[[Joey]]