-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
build, doc: use new api doc tooling #57343
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?
Conversation
|
Review requested:
|
77ede22 to
3423c21
Compare
3423c21 to
451f8a7
Compare
ovflowd
left a comment
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.
@flakey5 I guess you also need to check our GitHub Action Workflows, and also other mentions of these files within the source.
Like within the Contributor Docs, there is a file that describes how the legacy API doc tooling works, and I believe there are other references also.
cf2609b to
a3ce99d
Compare
|
It also looks like |
|
Also not sure what's going on with |
REPLACEME shouldn't error, imo, just give a warning. Our linter should have warn and error levels. And yes introduced_in must be top level! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #57343 +/- ##
==========================================
- Coverage 88.52% 88.51% -0.01%
==========================================
Files 703 703
Lines 208506 208538 +32
Branches 40213 40218 +5
==========================================
+ Hits 184570 184596 +26
+ Misses 15953 15952 -1
- Partials 7983 7990 +7 🚀 New features to boost your workflow:
|
I’m not sure either, but I’ll check it out. |
On the README.md file you updated ( |
ovflowd
left a comment
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.
This is the result of many months of arduous work between many awesome folks, including @flakey5 @AugustinMauroy @araujogui @ovflowd @avivkeller and others.
I'm so proud of what we are achieving here and this is a huge step towards a modern tooling and a revamped API docs within Node.js
Approving, as I believe this is ready!
|
cc @nodejs/collaborators can we have another approval here? 🙏 |
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.
RSLGTM because it is hard to review and outside of my comfort zone.
Signed-off-by: flakey5 <[email protected]>
Signed-off-by: flakey5 <[email protected]>
Signed-off-by: flakey5 <[email protected]>
…ready Signed-off-by: flakey5 <[email protected]>
Co-authored-by: Antoine du Hamel <[email protected]>
Signed-off-by: flakey5 <[email protected]>
Signed-off-by: flakey5 <[email protected]>
Co-authored-by: Joyee Cheung <[email protected]>
Signed-off-by: flakey5 <[email protected]>
Signed-off-by: flakey5 <[email protected]>
d1ba077 to
3059d01
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Yes? I literally posted that on Slack. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Fixed by nodejs/doc-kit#516 |
|
Bump @aduh95, we are pretty hopeful that all of your concerns should be resolved :-) |
Yeah, we added comparison right now, but I also believe the JSON should be correct. |
|
But for the sake of checking it, @avivkeller can you compare both and see what you find as diff? (Some fields are expected to be slightly different, such as |
|
As of this comment, the diff is available at https://gist.github.com/avivkeller/6bcb5fc17d72a3bed77744d4094949bd (after nodejs/doc-kit#524 lands) |
|
@ovflowd can you bump the doc-kit version to the latest version? @aduh95 can you re-review? The JSON format should be stable, and decently similar to the old format, with slightly different HTML output (md to html differences), and more accurate parameter parsing. Any little kinks and quirks can also be worked out, and I'm going to do a full read through of the diff today. |
|
I'd like to work on adding some tests to validate the JSON structure, it's on my list of things to do but I haven't come to it yet |

Switches over to using the new doc generation tooling. For more background on this, please see #52343
Currently a draft just to get feedback on the approach to this integration.cc @nodejs/web-infra