We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whether a complete plug-in development documentation is available
import typedoc from 'typedoc' import {MyPlugin} from './typedoc-plugin-a1.js' /** * 生成 typedoc 文档 * @constructor */ export async function GenerateTypeDoc() { const app = new typedoc.Application() app.options.addReader(new typedoc.TSConfigReader()) // app.renderer. app.renderer.addComponent("typedoc-plugin-a1",new MyPlugin(app.renderer)) app.options.addReader(new typedoc.TypeDocReader()) app.bootstrap({ entryPoints: ['packages/utils/index.ts'], // 设置自定义的主题 plugin: [ 'typedoc-plugin-a1' ] }) const project = app.convert() if (project) { const outputDir = "doc/utils" // 生成文档 await app.generateDocs(project, outputDir) // 生成json await app.generateJson(project, outputDir + "/documentation.json") } } GenerateTypeDoc()
import { Component, RendererComponent } from 'typedoc/dist/lib/output/components'; export class MyPlugin extends RendererComponent { initialize() { console.log('MyPlugin: Initialized'); super.initialize(); } render() { console.log('MyPlugin: Rendered'); } }
I think I need a complete document,
The text was updated successfully, but these errors were encountered:
There is not much documentation available, #521 tracks that task.
https://typedoc.org/guides/development/ has some info, I recommend looking at the source of plugins listed at https://typedoc.org/guides/plugins/ for examples.
Sorry, something went wrong.
No branches or pull requests
Search terms
Whether a complete plug-in development documentation is available
Question
I think I need a complete document,
The text was updated successfully, but these errors were encountered: