-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
doc: remove unused/duplicated reference links #13066
Conversation
doc/api/fs.md
Outdated
@@ -2938,7 +2937,6 @@ The following constants are meant for use with the [`fs.Stats`][] object's | |||
[`util.inspect(stats)`]: util.html#util_util_inspect_object_options | |||
[`util.promisify()`]: util.html#util_util_promisify_original | |||
[Caveats]: #fs_caveats | |||
[Common System Errors]: errors.html#errors_common_system_errors |
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.
Are you sure all of these are correct? This one, for example, appears to be used.
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.
Oops, it was used indeed. I just updated it and re-check them all manually. Thanks!
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.
LGTM assuming these are all unused :-D
@@ -2963,7 +2963,6 @@ callback invocation, even if it has been successfully cancelled. | |||
[`napi_create_range_error`]: #n_api_napi_create_range_error | |||
[`napi_create_reference`]: #n_api_napi_create_reference | |||
[`napi_create_type_error`]: #n_api_napi_create_type_error | |||
[`napi_define_class`]: #n_api_napi_define_class |
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 seems to be used.
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.
It's duplicated.
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.
Ops, sorry.
@@ -1061,7 +1061,6 @@ Returns true if input is a version 6 IP address, otherwise returns false. | |||
[`net.Server`]: #net_class_net_server | |||
[`net.Socket`]: #net_class_net_socket | |||
[`net.connect()`]: #net_net_connect | |||
[`net.connect()`]: #net_net_connect |
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.
Ditto.
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.
It's also duplicated.
landed in bfade5a. |
PR-URL: #13066 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
This does not land cleanly in LTS. Please feel free to manually backport. Please also feel free to replace do-not-land if it is being backported |
Summary
I noticed some un-styled markdown at #12756, and the original PR may take more time. To avoid more conflicts and make the diff a bit small, it would be nice if we can take the docs fix commits from it. Then I removed the unused/duplicated reference links.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
doc