-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
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
Create a "How to write a typedoc plugin" for boosting community plugins #521
Comments
I would be 100% for this. Making it entirely pluggable would unleash the full power of the community. I'd be willing to give it a few pull requests, as soon as I have a better understanding of the code base. |
Looking forward to have it. |
Same for me, I'm looking for a way to write a local plugin for my project. It would be nice to specify a single plugin ts file. |
You can specify plugins to be loaded with I think this issue needs to wait for a stable release - or at least until the |
Any progress on this? Existing plugins get outdated and it becomes hard to figure out what the process for creating one is. |
I have started https://typedoc.org/guides/development/, which focuses on developing TypeDoc proper, but will likely be useful for plugin developers. I am in the middle right now of making library mode a thing, which has required changing quite a lot of the codebase (okay, I admit some didn't have to be changed, but I've wanted to for a while, and while I'm breaking everything anyways....) as a part of this, I'm taking good notes for what plugin developers need to know. I'll publish a hello world of plugin development guide as a draft once it is ready for a PR. |
gerrit0 wrote:
and
if it is not to much to ask for can someone explain:
IMHO time of arrivals are always frown upon because there almost impossible to get even close but a checklist just show what done and show about the same info. |
The TypeDoc library itself, excluding plugins
TypeDoc 0.19 and earlier had a Library mode was to be an additional mode which made TypeDoc accept a list of entry points to your library and create documentation based on what was exported from those entry points. I made a couple of attempts at this, the one I was in the middle of above was really a full rewrite of TypeDoc, which I eventually decided was a bad idea and abandoned. To ease the maintenance burden, I dropped the mode option in 0.20, and only supported what was to be called "library mode".
Mostly, just time to do it, and being convinced that it's a better use of my time than fixing bugs/working on features (when I'm actually working on TypeDoc, have another side project that's more interesting to me right now, so haven't done much on it in the past few weeks). The plugin-idea tag in this issue has a lot of example plugins, which can be helpful. |
I don't know if typedoc is currently plugin-ready, meaning the code structure exporting the right classes and methods for 3rd party developers, but since there already exist a few nice plugins it would be good to have a short "Typedoc plugin 101" so one can write our own plugins in order to boost company.
The text was updated successfully, but these errors were encountered: