History

Updated Filter Reference (markdown)

Thibaut Courouble committed 12 years ago

Commit e556beb1 parent 6de2a2f1 file · +3 −0Browse files

Unified · Split

Filter-Reference.md+3−0
@@ -70,6 +70,9 @@ The `call` method must return either `doc` or `html`, depending on the type of f · 69 unmodified lines
7070 * `root_page?` [Boolean]
7171 Returns `true` if the current page is the root page.
7272
73+* `initial_page?` [Boolean]
74+ Returns `true` if the current page is the root page or its subpath is one of the scraper's `initial_paths`.
75+
7376 ## Core filters
7477
7578 * [`ContainerFilter`](https://github.com/Thibaut/devdocs/blob/master/lib/docs/filters/core/container.rb) — changes the root node of the document (remove everything outside)