mono / api-doc-tools

.NET Reference API Toolchain
MIT License
68 stars 48 forks source link

keep the latest inheritdoc only #692

Closed TinaLiu02 closed 6 months ago

TinaLiu02 commented 6 months ago

CI Pipeline: https://ceapex.visualstudio.com/Engineering/_build/results?buildId=1695391&view=results

step 1. get Microsoft.Data.SqlClient.dll and Microsoft.Data.SqlClient.xml from package: https://apidrop.visualstudio.com/Content%20CI/_artifacts/feed/DocsReferenceCISource@Local/NuGet/Microsoft.Data.SqlClient/overview/5.2.0-build.24045.1-94b4384(https://apidrop.visualstudio.com/Content%20CI/_artifacts/feed/DocsReferenceCISource/NuGet/Microsoft.Data.SqlClient/overview/5.2.0-build.24045.1-94b4384) the original inheritdoc in Microsoft.Data.SqlClient.xml as below. image

step 2. generate SqlBatch.xml, the generated inheritdoc as below. image

step 3. change inheritdoc to be like below. image

step 4. generate SqlBatch.xml, the generated inheritdoc as below. image

step 5. change inheritdoc again to be like below. image

step 6. generate SqlBatch.xml, the generated inheritdoc as below. image

the result is expected : changed inheritdoc in source xml and generated it to target xml multiple times, only the latest one can show in target.