MCPcopy
hub / github.com/eudicots/Cactus / preBuild

Method preBuild

cactus/plugin/builtin/ignore.py:8–12  ·  view source on GitHub ↗

Load the ignore patterns from the site config

(self, site)

Source from the content-addressed store, hash-verified

6 Define configurable ignore patterns for static files and pages
7 """
8 def preBuild(self, site):
9 """
10 Load the ignore patterns from the site config
11 """
12 self.ignore_patterns = site.config.get('ignore', [])
13
14 def preBuildPage(self, page, context, data):
15 if not self.accept_path(page.source_path):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected