Changeset 3418

Show
Ignore:
Timestamp:
03/25/08 10:42:36 (10 months ago)
Author:
jouvin
Message:

Add inline documentation for sectionindex

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tocmacro/0.11/tractoc/macro.py

    r3417 r3418  
    8484    || {{{depth=<n>}}}   || Display headings of ''subsequent'' pages to a maximum depth of '''<n>'''. || 
    8585    || {{{inline}}}      || Display TOC inline rather than as a side-bar. || 
     86    || {{{sectionindex}}} || Only display the page name and title of each page in the wiki section. || 
    8687    || {{{titleindex}}}  || Only display the page name and title of each page, similar to TitleIndex. || 
    8788    || {{{notitle}}}     || Supress display of page title. || 
     
    9091    [[TOC(titleindex, notitle, heading=All pages)]] 
    9192    }}} 
     93    'sectionindex' allows to generate a title index for all pages in a given section of the wiki. 
     94    A section is defined by wiki page name, using '/' as a section level delimiter (like directories in a 
     95    file system). Giving '/' or '*' as the page name produces the same result as 'titleindex' (title of all pages). 
     96    If a page name ends with a '/', only children of this page will be processed. Else the page given in 
     97    the argument is also included, if it exists. For 'sectionindex' argument, an empty pagelist will evaluate 
     98    to all page below the same parent as the current page: 
     99    {{{ 
     100    [[TOC(sectionindex, notitle, heading=This section pages)]] 
     101    }}} 
     102 
    92103    """ 
    93104