wiki.toc(path : str, depth : num?) : xml
Insert table of contents of a wiki page.
1.8.1 or later
| Name | Type | Description |
| path | str | path to the page |
| depth | num? | limit depth of headings in table of contents (optional, default: all, 9.12 or later) |
A list of that page's table of contents. If path corresponds to the current page, then this function returns the same result as page.toc. Prior to 8.08, wiki.toc would always load the target page, even when it is the same as the current page.
| Output | ||
| page not found |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by