Hierarchy

  • default

Constructors

Properties

config: ProjConf = ...
cwd: string
getConfig: (() => ProjConf) = getConfig

Type declaration

setConfig: ((obj: Record<string, any> | ProjConf) => ProjConf) = setConfig

Type declaration

currentApI: default

Methods

  • clean cache, auto generated posts, etc

    See

    • cleaner.cleanDb
    • cleaner.cleanArchive

    Parameters

    • Optional opt: "post" | "all" | "archive" | "database"

    Returns Promise<void>

  • Copy all src-post to source/_posts (run before generate)

    • see the method pcopy.copyAllPosts

    Returns

    Returns Promise<void>

  • generate site with hexo

    Returns Promise<void>

  • run files ends with standalone.js inside source posts standaloneRunner

    Returns

    Returns Promise<void>