How to use the typedoc/dist/lib/output/events.RendererEvent.END function in typedoc

To help you get started, we’ve selected a few typedoc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tom-grey / typedoc-plugin-markdown / src / subthemes / docusaurus / theme.ts View on Github external
constructor(renderer: Renderer, basePath: string) {
    super(renderer, basePath);
    this.indexName = 'index';
    renderer.addComponent('frontmatter', new FrontMatterComponent(renderer));
    this.listenTo(renderer, RendererEvent.END, this.onRendererEnd, 1024);
  }
github tom-grey / typedoc-plugin-markdown / src / subthemes / vuepress / theme.ts View on Github external
constructor(renderer: Renderer, basePath: string) {
    super(renderer, basePath);
    this.listenTo(renderer, RendererEvent.END, this.onRendererEnd, 1024);
  }
github tom-grey / typedoc-plugin-markdown / src / subthemes / gitbook / theme.ts View on Github external
constructor(renderer: Renderer, basePath: string) {
    super(renderer, basePath);
    this.listenTo(renderer, RendererEvent.END, this.writeSummary, 1024);
  }
github tom-grey / typedoc-plugin-markdown / src / subthemes / docusaurus2 / theme.ts View on Github external
constructor(renderer: Renderer, basePath: string) {
    super(renderer, basePath);
    this.indexName = 'index';
    this.sidebarName = 'sidebars.js';
    renderer.addComponent('frontmatter', new FrontMatterComponent(renderer));
    this.listenTo(renderer, RendererEvent.END, this.onRendererEnd, 1024);
  }
github tom-grey / typedoc-plugin-markdown / src / components / helpers.component.ts View on Github external
initialize() {
    super.initialize();

    this.includes = this.application.options.getValue('includes');
    this.mediaDirectory = this.application.options.getValue('media');
    this.listInvalidSymbolLinks = this.application.options.getValue('listInvalidSymbolLinks');

    this.listenTo(
      this.owner,
      {
        [RendererEvent.END]: this.onEndRenderer,
      },
      undefined,
      100,
    );

    const component = this;

    MarkdownTheme.handlebars.registerHelper('comment', function(this: string) {
      return component.parseComments(this);
    });

    MarkdownTheme.handlebars.registerHelper('breadcrumbs', function(this: PageEvent) {
      return component.breadcrumb(this.model, this.project, []);
    });

    MarkdownTheme.handlebars.registerHelper('relativeURL', (url: string) => {
github tom-grey / typedoc-plugin-markdown / src / components / helpers.component.ts View on Github external
initialize() {
    super.initialize();

    this.includes = this.application.options.getValue('includes');
    this.mediaDirectory = this.application.options.getValue('media');
    this.listInvalidSymbolLinks = this.application.options.getValue('listInvalidSymbolLinks');

    this.listenTo(
      this.owner,
      {
        [RendererEvent.END]: this.onEndRenderer,
      },
      undefined,
      100,
    );

    const component = this;

    Handlebars.registerHelper('comment', function(this: string) {
      return component.parseComments(this);
    });

    Handlebars.registerHelper('breadcrumbs', function(this: PageEvent) {
      return component.breadcrumb(this.model, this.project, []);
    });

    Handlebars.registerHelper('if_eq', function(a: any, b: any, opts: any) {