-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Fixes #19255: Improved documentation consistency for configuration default values #19258
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
Fixes #19255: Improved documentation consistency for configuration default values #19258
Conversation
docs/configuration/plugins.md
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
## PLUGINS | |||
|
|||
Default: Empty | |||
Default: `Empty` |
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.
"Empty" isn't a literal value. We should either leave this as is, or change it to "[]
(empty)"
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.
@jeremystretch thanks. Will switch it to []
docs/configuration/plugins.md
Outdated
@@ -13,7 +13,7 @@ A list of installed [NetBox plugins](../plugins/index.md) to enable. Plugins wil | |||
|
|||
## PLUGINS_CONFIG | |||
|
|||
Default: Empty | |||
Default: `Empty` |
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.
Similar to PLUGINS
above, but this is an empty dictionary by default.
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.
@jeremystretch thanks. Will switch it to []
docs/configuration/system.md
Outdated
@@ -206,14 +206,14 @@ If `STORAGE_BACKEND` is not defined, this setting will be ignored. | |||
|
|||
## TIME_ZONE | |||
|
|||
Default: UTC | |||
Default: `UTC` |
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 might help to represent this explicitly as a string to avoid confusion with a global constant.
Default: `UTC` | |
Default: `"UTC"` |
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.
@jeremystretch thanks. Change made
@jeremystretch requested changes made. Thanks for the review and happy to change as otherwise needed |
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.
Thanks @mr1716!
Fixes: #19255
The changes ensure that the default values are highlighted the same way in the documentation