DeadLinkSite #

What the dead link check needs to know about the site: its routes, the heading anchors of each page and the public files.

Fields #

routesIterable<string>

Public routes of every page in the site.

headingsReadonlyMap<string, readonly string[]>

Heading IDs of each page, keyed by route.

publicFilesIterable<string>

Files in the public directory, as paths relative to it, for example /logo.png.

Full type signature
TypeScript
interface DeadLinkSite {
  routes: Iterable<string>
  headings: ReadonlyMap<string, readonly string[]>
  publicFiles: Iterable<string>
}

Edit this page

Comments