Skip to content
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

fix: don't assume heading type is module #140

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

avivkeller
Copy link
Member

Description

According to the legacy parser:
https://github.com/nodejs/node/blob/0a00217a5f67ef4a22384cfc80eb6dd9a917fdc1/tools/doc/json.mjs#L478-L489

As shown above, the heading should not have a default value. The generators should decide whether a misc or module heading is appropiate based on the heading of the parent.

Validation

See updated tests

Related Issues

#139

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I've covered new added functionality with unit tests if necessary.

@avivkeller avivkeller requested a review from a team as a code owner November 9, 2024 18:40
@avivkeller avivkeller merged commit fb68333 into nodejs:main Nov 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants