From e556beb61843a82ca0fe97b240c2e5c6f5c32743 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Thu, 12 Dec 2013 08:51:15 -0800 Subject: [PATCH] Updated Filter Reference (markdown) --- Filter-Reference.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Filter-Reference.md b/Filter-Reference.md index 5e852b3f..c37ccf75 100644 --- a/Filter-Reference.md +++ b/Filter-Reference.md @@ -70,6 +70,9 @@ The `call` method must return either `doc` or `html`, depending on the type of f * `root_page?` [Boolean] Returns `true` if the current page is the root page. +* `initial_page?` [Boolean] + Returns `true` if the current page is the root page or its subpath is one of the scraper's `initial_paths`. + ## Core filters * [`ContainerFilter`](https://github.com/Thibaut/devdocs/blob/master/lib/docs/filters/core/container.rb) — changes the root node of the document (remove everything outside)