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
octogonz
changed the title
[api-documenter] 如何去掉生成md文档后在文件顶部的注释 How to remove the comment at the top of the generated Markdown files?
[api-documenter] Add a setting to remove the "do not edit" comment from the generated markdown
Apr 2, 2025
---hide_title: truecustom_edit_url: nullpagination_prev: nullpagination_next: null---<!-- Do not edit this file. It is automatically generated by API Documenter. -->[Home](./index.md)>[@microsoft/api-documenter](./api-documenter.md)>[IApiDocumenterPluginManifest](./api-documenter.iapidocumenterpluginmanifest.md)>[features](./api-documenter.iapidocumenterpluginmanifest.features.md)## IApiDocumenterPluginManifest.features property
The list of features provided by this plugin.
**Signature:**```typescriptfeatures: IFeatureDefinition[];
```
The purpose of the comment is to prevent people from accidentally modifying these machine-generated files.
Summary
在生产的md文档中,在每个文件的顶部都会有这么一句:
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
这个在使用
docusaurus
部署我的文档会有影响。所以,我想去掉这个注释,我该如何做?
In the generated Markdown (.md) documents, there is a line at the top of each file:
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
This causes issues when deploying my documentation using
Docusaurus
.So, I want to remove this comment. How can I do that?
Repro steps
Expected result:
Actual result:
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-documenter
version?node -v
)?The text was updated successfully, but these errors were encountered: