Open Murtatrxx opened 1 year ago
We need to wait to support mdx 2 for typedoc plugin markdown https://github.com/tgreyuk/typedoc-plugin-markdown/issues/305
typedoc-plugin-markdown
did not work well for me so I built my own transformer called typedoc-nextra
which serializes typedoc's json into markdown https://npm.im/typedoc-nextra
🤨 Interesting
@B2o5T You can add format: "detect"
since: https://github.com/shuding/nextra/pull/1296
After I looked at it, there seems to be no reason to use MDX anyway.
@balazsorban44 ah you are totally right, and we use already format: detect
in loader
@balazsorban44 following this thread right now. Is there a good reference implementation of using nextra
with typedoc
that I can take a look at?
Specifically, typedoc
's output with typedoc-plugin-markdown
outputs folders in a way that I'm not sure is well suited to nextra
.
Thanks! 🙏
Check out the typedoc-plugin-markdown@next
version of the TypeDoc plugin, I find it perfect, and there's basically nothing to do on the Nextra side just generate the content into the pages folder.
From #1511:
It would be great for TypeScript library authors to have a built-in/additional library solution for generating neat TypeScript code definitions.
For docusaurus, we have something like milesj/docusaurus-plugin-typedoc-api@master/packages/plugin/README.md (Demo: boostlib.dev/api)
Our needs are both for single package repositories and mono repositories.
Nextra is great. But when it comes to automatic documentation generation from set files, it cant. Could you guys add something integrates with typedoc?