MCPcopy Index your code
hub / github.com/modelcontextprotocol/modelcontextprotocol / buildPageEvents

Function buildPageEvents

typedoc.plugin.mjs:76–89  ·  view source on GitHub ↗

* @param {typedoc.ProjectReflection} project * @param {typedoc.Router} router * @returns {typedoc.PageEvent[]}

(project, router)

Source from the content-addressed store, hash-verified

74 * @returns {typedoc.PageEvent[]}
75 */
76function buildPageEvents(project, router) {
77 const events = [];
78
79 for (const pageDefinition of router.buildPages(project)) {
80 const event = new typedoc.PageEvent(pageDefinition.model);
81 event.url = pageDefinition.url;
82 event.filename = pageDefinition.url;
83 event.pageKind = pageDefinition.kind;
84 event.project = project;
85 events.push(event);
86 }
87
88 return events;
89}
90
91/**
92 *

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected