-
Notifications
You must be signed in to change notification settings - Fork 557
feat(api-markdown-documenter): Add limited support for inherited type member docs #25471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat(api-markdown-documenter): Add limited support for inherited type member docs #25471
Conversation
…properties from their hierarchy
…markdown-documenter/inherit-members
…-markdown-documenter/inherit-members
// for the type from which they are inherited. | ||
const members = getTypeMembers(apiItem, config); | ||
|
||
// TODO: display some sort of icon / notation for inherited members? ⤴️⤵️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: remove
return config.defaultSectionLayout(apiItem, sections, config); | ||
} | ||
|
||
// TODO: docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
}; | ||
} | ||
|
||
function createMemberDetailsSection( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: docs
tools/api-markdown-documenter/src/api-item-transforms/helpers/TableHelpers.ts
Show resolved
Hide resolved
import type { ApiItemTransformationConfiguration } from "../../configuration/index.js"; | ||
import { getTypeMembers } from "../InheritanceUtilities.js"; | ||
|
||
// TODO: this needs a lot of documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
tools/api-markdown-documenter/src/api-item-transforms/utilities/ApiItemTransformUtilities.ts
Outdated
Show resolved
Hide resolved
inheritedMembers.push(...getInheritedMembers(apiInterface, extendsType, config)); | ||
} | ||
} else { | ||
// TODO: type-alias |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: document this as a future change
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
TODO