TypeDoc API - v0.28.1

    Class BaseRouterAbstract

    Base router class intended to make it easier to implement a router.

    Child classes need only getIdealBaseName, this class will take care of the recursing through child reflections.

    Hierarchy (View Summary, Expand)

    Implements

    Index

    Accessors

    includeHierarchySummary: any
    sluggerConfiguration: any

    Constructors

    Methods

    • Get the full URL to the target. In TypeDoc's default router this is equivalent to relativeUrl(project, refl), but this might not be the case for custom routers which place the project somewhere else besides index.html.

      The URL returned by this by the frontend JS when building dynamic URLs for the search, full hierarchy, and navigation components.

      Parameters

      Returns string

    • Should return the base-relative desired file name for a router target. This name may not be used exactly as TypeDoc will detect conflicts and automatically introduce a unique identifier to the URL to resolve them.

      Parameters

      Returns string

    • Should the page kind to use if a reflection should have its own rendered page in the output. Note that once undefined is returned, children of that reflection will not have their own document.

      Parameters

      Returns undefined | PageKind

    • Strip non-url safe characters from the specified string.

      Parameters

      • name: string

      Returns string

    Properties

    anchors: Map<RouterTarget, string> = ...
    application: Application
    extension: string = ".html"
    fullUrls: Map<RouterTarget, string> = ...
    sluggers: Map<RouterTarget, Slugger> = ...
    usedFileNames: Set<string> = ...
    MMNEPVFCICPMFPCPTTAAATR