Skip to content

Conversation

@Josmithr
Copy link
Contributor

@Josmithr Josmithr commented Jan 29, 2024

{@inheritDoc} references to items outside of a given package cannot currently be resolved / evaluated by api-extractor (see #1195). The logic for ae-undocumented did not take this into account, and was treating any API item with an unresolvable inheritDoc comment as "undocumented". In reality, the "documented" status of the item cannot be determined by API-Extractor. To be safe, we no longer mark items in this ambiguous state as "undocumented".

Fix for #3462

Also adds a test scenario for @inheritDoc, and updates the repo's API reports to reflect the new policy.

@octogonz octogonz merged commit 8f23e2d into microsoft:main Feb 29, 2024
@octogonz
Copy link
Collaborator

@Josmithr thank you for investigating this and figuring out how to fix it! 🎉

@octogonz
Copy link
Collaborator

🚀 Released with API Extractor 7.42.0

@octogonz octogonz changed the title fix(api-extractor): Don't mark items documented with {@inheritDoc} references to package-external items as "undocumented" [api-extractor] Don't mark items documented with {@inheritDoc} references to package-external items as "undocumented" Mar 1, 2024
@Josmithr Josmithr deleted the dont-mark-external-items-as-undocumented branch March 4, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants