Description
Using api-documenter markdown -i dist -o docs/api
is occasionally producing markdown files with random html comment sections in them.
When running the previous command it is seeming to produce markdown files with random html comments in them
For example, my colleuge recently created a PR where she was changing the variable name in a part of the monorepo, and now in an unrelated part the api-documenter
is creating this change:
The changes she's made does not effect the tsdoc which is being used to generate the markdown files.
Details
I have also run into this issue multiple times myself. This is causing issues because we pull these markdown files into docusaurus and these are causing syntax errors there
There error appears to always be related to some symbols such as []
or <>
- in the above screenshot it seems to be related to the []
array syntax of the permissions, and I have previously seen it related to the <>
generic syntax of a class.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question | Answer |
---|---|
@microsoft/api-documenter version? |
^7.15.3 |
Operating system? | Reproduced in our repo on Mac and Windows |
Documentation target? | Markdown |
Would you consider contributing a PR? | Yes |
TypeScript compiler version? | Version 4.7.4 |
Node.js version (node -v )? |
v18.7.0 |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status