@eagleoutice/flowr - v2.10.1
    Preparing search index...

    Class DocMaker<Target>Abstract

    Abstract base class for generating wiki files. Please make sure to register your WikiMaker implementation in the CLI wiki tool to have it executed: src/cli/wiki.ts.

    If this wiki page produces multiple pages ("sub files"), you can use writeSubFile inside the text method to write those additional files.

    Type Parameters

    • Target extends string

    Hierarchy (View Summary)

    Implements

    Hierarchy-Diagram

    UML class diagram of DocMaker
    Index

    Constructors

    • Protected

      Creates a new WikiMaker instance.

      Type Parameters

      • Target extends string

      Parameters

      • target: Target

        The target path where the wiki file will be generated.

      • filename: string

        The name of the file being generated. Probably use module.filename.

      • purpose: string

        The purpose of the file, e.g., 'wiki context for types'.

      • printHeader: boolean = true

        Whether to print the auto-generation header. Default is true. Only mark this false if you plan to add it yourself.

      Returns DocMaker<Target>

    Methods

    • Please note that for subfiles you have to always add your own header

      Parameters

      • path: PathLike
      • data: string

      Returns boolean