-
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: update style guide for markdown extension #15786
Conversation
doc/STYLE_GUIDE.md
Outdated
@@ -6,8 +6,7 @@ | |||
topic the document will describe (e.g., `child_process`). | |||
* Filenames should be **lowercase**. | |||
* Some files, such as top-level markdown files, are exceptions. | |||
* Older files may use the `.markdown` extension. These may be ported to `.md` | |||
at will. **Prefer `.md` for all new documents.** | |||
* Use `.md` as the file extension for markdown files. |
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.
Is this necessary given the extension is included in the example in the parent bullet (lowercase-with-dashes.md
)?
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.
Or maybe merge with the existing bullet about filenames should be lowercase above.
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.
I'm happy to remove it entirely. It seems unlikely that we will have a rampant problem with people using the wrong file extension for new 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.
+1 for removing entirely
There are no longer files in the repository that use the `.markdown` extension so remove mention of them.
There are no longer files in the repository that use the `.markdown` extension so remove mention of them. PR-URL: nodejs#15786 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Landed in e012229 |
There are no longer files in the repository that use the `.markdown` extension so remove mention of them. PR-URL: #15786 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
There are no longer files in the repository that use the `.markdown` extension so remove mention of them. PR-URL: nodejs/node#15786 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
There are no longer files in the repository that use the `.markdown` extension so remove mention of them. PR-URL: #15786 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
landed on v6.x assuming it is relevant to that branch lmk if I am wrong |
There are no longer files in the repository that use the `.markdown` extension so remove mention of them. PR-URL: #15786 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
There are no longer files in the repository that use the `.markdown` extension so remove mention of them. PR-URL: #15786 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
There are no longer files in the repository that use the
.markdown
extension so remove mention of them.
Checklist
Affected core subsystem(s)
doc