Class: Router

router~Router(logger, renderer, processor, generator, decorator, helper, translator, site, watcheropt) → {Router}

new Router(logger, renderer, processor, generator, decorator, helper, translator, site, watcheropt) → {Router}

Core module that handling file routing.

Parameters:
Name Type Attributes Default Description
logger Logger
renderer Renderer
processor Processor
generator Generator
decorator Decorator
helper Helper
translator Translator
site Site
watcher Watcher <optional>
null
Source:
Returns:
Type
Router

Methods

(async) build()

Build all site docs.

Source:

(async) serve()

Serve all site docs.

Source: