You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues before opening a new one.
Problem
Request
I've been looking into switching to TypeDoc after @maribethbmentioned it and I think it would help resolve a number of API documentation issues.
Pros:
We currently have to patch API documenter, which is not ideal for maintenance reasons.
We have to do a lot of file/string manipulation to API documenter's output. A lot of this is API documenter specific and would go away. There's also a TypeDoc plugin for Docusaurus that we could use.
Allow deploying documentation without updating reference docs #10298 would not be any harder with TypeDoc, and might actually be better. You can still follow Option 1, because TypeDoc supports JSON generation and you can generate the docs from there. TypeDoc's links point to a specific commit, so if you had changes to a method that weren't released, it would automatically point to whatever commit it was when you generated the JSON.
Cons:
It's hard to get the format of the API docs to be the same as they were with API documenter. Either we a) write/maintain code to get everything to look as similar as possible or b) adopt a different format for the API docs, which would introduce a new learning curve for developers who are used to our API docs as is.
TypeDoc has different naming conventions compared to API documenter, so all of our API reference links would be different. In our own guides, we can convert the links, but we would need to consider developers who might have API docs bookmarked. We could:
a) add a script to convert the TypeDoc names into the API documenter format
b) provide redirects, but we'd need an aggressive number of them
c) break everybody's API links
I've only just started exploring this so there could be other cons
If we were to convert, we ideally could do it before putting work into the open docs pipeline issues (#10303 and #10298) but that would mean putting those issues on hold for a little while.
Check for duplicates
Problem
Request
I've been looking into switching to TypeDoc after @maribethb mentioned it and I think it would help resolve a number of API documentation issues.
Pros:
Cons:
a) add a script to convert the TypeDoc names into the API documenter format
b) provide redirects, but we'd need an aggressive number of them
c) break everybody's API links
If we were to convert, we ideally could do it before putting work into the open docs pipeline issues (#10303 and #10298) but that would mean putting those issues on hold for a little while.
Alternatives considered
No response
Additional context
No response