-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
doc: add initial constants module documentation #6505
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ exposed by the `constants` module itself. | |
|
|
||
| ## Error Constants | ||
|
|
||
| The following error constants are adapted directly from the Posix errno | ||
| The following error constants are adapted directly from the Posix `errno` | ||
| standards. See http://man7.org/linux/man-pages/man3/errno.3.html for more | ||
| details about specific error constants. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Link to the Errors documentation page maybe?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can, but those are far from complete. We should either fill those out there more or move that detail into here. How those are documented leaves much to be desired. |
||
|
|
||
|
|
@@ -1070,13 +1070,13 @@ Limit engine usage to PKEY_ASN1_METHS | |
| #### constants.RSA_PKCS1_PSS_PADDING | ||
| #### constants.POINT_CONVERSION_COMPRESSED | ||
| #### constants.POINT_CONVERSION_UNCOMPRESSED | ||
| 3### constants.POINT_CONVERSION_HYBRID | ||
| #### constants.POINT_CONVERSION_HYBRID | ||
|
|
||
| ### Node.js Crypto Constants | ||
|
|
||
| #### constants.defaultCoreCipherList | ||
|
|
||
| Specifies the built in default cipher list used by Node.js | ||
| Specifies the built in default cipher list used by Node.js. | ||
|
|
||
| #### constants.defaultCipherList | ||
|
|
||
|
|
||
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.
… You are fast addressing nits. 😄
The docs usually stylize it as
POSIX, and manpage references likeerrno(3)would automatically be converted to the man7.org link.And btw, for some of these errors, there’s already information in errno.md… not sure what to do about that (or if there’s something to be done about it), but some kind of cross-referencing might be nice.
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.
Yep, haven't gotten that far ;-) For most of these, the auto man page links should work (just need to go through and do the tedious work of adding those in. I'm open to suggestions on what to do with reconciling against errno.md.