Skip to content

Commit e556beb

Browse files
committed
Updated Filter Reference (markdown)
1 parent 6de2a2f commit e556beb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Filter-Reference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ The `call` method must return either `doc` or `html`, depending on the type of f
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)

0 commit comments

Comments
 (0)