Open Peeja opened 1 year ago
@gsvarovsky Any insight about these? In particular, can we make the docs work properly in library
mode?
The primary brake here is that we use a customised typedoc theme. The template for the theme changed extensively for typedoc 0.20.
The readmeToc
thing is an extension in the theme: https://github.com/m-ld/typedoc-theme/commit/90b4d341bb1b340386af2a323fbd2b70d9763a8a
Not sure what stripInternal
is about.
Suggestion: using a customised theme is going to cause this kind of problem repeatedly.
Let's switch to generating markdown docs using typedoc-plugin-markdown, then compose the final website using eleventy, via m-ld/m-ld-io-web-base.
I'll experiment with that approach in the gateway, particularly because it orients more to custom documentation rather than tsdoc.
However, upgrading
typedoc
breaks the typedoc build, so this requires at least some actual thought to deal with.twoMore specifically, some options have been removed:
mode
was removed. Only what waslibrary
mode is now available. We currently usefile
mode.readmeToc
is not recognized. It didn't throw an error before, but I can't find a reference to its earlier usage anywhere on the web. It seems pretty intentional, though.stripInternal
anywhere, butexcludeInternal
sounds like it's what that should mean. Is it possible thatstripInternal
never worked?