-
-
Notifications
You must be signed in to change notification settings - Fork 26k
DOC Add note on backtick rendering #24368
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
Conversation
doc/developers/contributing.rst
Outdated
@@ -846,6 +846,10 @@ Finally, follow the formatting rules below to make it consistently good: | |||
* When editing reStructuredText (``.rst``) files, try to keep line length under | |||
80 characters when possible (exceptions include links and tables). | |||
|
|||
* Both single and double backticks surrounding text will render as inline | |||
literal ('code', e.g., `list`), due to specific configurations set in | |||
scikit-learn. |
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.
Shall we recommend using single quotes by default as a result?
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 think you mean single backtick?
doc/developers/contributing.rst
Outdated
@@ -846,6 +846,10 @@ Finally, follow the formatting rules below to make it consistently good: | |||
* When editing reStructuredText (``.rst``) files, try to keep line length under | |||
80 characters when possible (exceptions include links and tables). | |||
|
|||
* In scikit-learn reStructuredText files both single and double backticks | |||
surrounding text will render as inline literal (often used for code, e.g., | |||
`list`). This is due to specific configurations we have set. |
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.
`list`). This is due to specific configurations we have set. | |
`list`). This is due to specific configurations we have set. Single | |
backticks should be used nowadays. |
Thanks! Amended! |
Thanks @lucyleeow |
Reference Issues/PRs
Relates to #14817 (comment)
What does this implement/fix? Explain your changes.
Add note on backtick rendering
Any other comments?
Happy to change wording. Was not sure if I should recommend use of one form over the other?
cc @thomasjpfan