]> oss.titaniummirror.com Git - webber.git/commitdiff
doc: fix ancestry of some pages
authorHolger Schurig <holgerschurig@gmx.de>
Thu, 25 Jun 2009 13:00:55 +0000 (15:00 +0200)
committerHolger Schurig <holgerschurig@gmx.de>
Thu, 25 Jun 2009 13:00:55 +0000 (15:00 +0200)
in/functions.md
in/macros.md
in/pageformat.md
in/templates.md

index 9970a64b87246066e83e37b628359350dacfdb9c..d45b2c884d637a729d52a677c029db0071ac5730 100644 (file)
@@ -1,5 +1,5 @@
 title: Functions
-parent: Home
+parent: Webber
 ctime: 2009-06-26
 
 = Calling functions =
@@ -48,7 +48,7 @@ page, you'll get a "`(mtime, ctime, title, link)`" tuple back.
 Defined in [[hierarchy.py|hierarchy]], where you find an example.
 
 
-== get_sidemenu ==
+== get_sidemenu(root) ==
 
 Returns a menu for the current page. For each page in this menu you'll
 get back a "`(level, part_of_path, is_current, title, link)`" tuple.
@@ -56,6 +56,18 @@ get back a "`(level, part_of_path, is_current, title, link)`" tuple.
 Defined in [[hierarchy.py|hierarchy]], where you find an example.
 
 
+== get_sitemap(home, show_orphans) ==
+
+Returns all pages as "`(level, title, link)`" tuples.
+
+You'll need to specify "`root`" if your top-most page is a different one.
+
+To put pages into the sitemap that are outside the parent/child relationships,
+specify "`True`" for "`show_orphans`".
+
+Defined in [[hierarchy.py|hierarchy]], where you find an example.
+
+
 == func ==
 
 A sample function in the [[skeleton.py|skeleton]]. See below.
index dfa5da81f25a289c97200014f4a4249ed3f1b0b5..97f0202c99502d0b5b8417f1b78268aa7d06fc83 100644 (file)
@@ -1,5 +1,5 @@
 title: Macros
-parent: Home
+parent: Webber
 ctime: 2009-06-26
 
 = Calling macros =
index c41526b3350f304af5f00cdffc2138e351c7628e..c244f89d1b7440be3028f87604c122e6add6dc99 100644 (file)
@@ -1,5 +1,5 @@
 title: Page format
-parent: Home
+parent: Webber
 ctime: 2009-06-26
 
 Every page contains a header, then a blank line, and then the text that
index 41bd4de2824c772a337c4049e4360bda20267ef3..dd7ba7400b11c78eb9e0b40ec1b5aedbf1314645 100644 (file)
@@ -1,5 +1,5 @@
 title: Templates
-parent: Home
+parent: Webber
 ctime: 2009-06-26
 
 TODO