Skip to content

Commit 6a9c9d7

Browse files
authored
Merge pull request home-assistant#5039 from home-assistant/standard
Add details for values if the user should replace it (fixes home-assistant#4999)
2 parents da03b58 + 2707746 commit 6a9c9d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/developers/documentation/standards.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ To ensure that the documentation for Home Assistant is consistent and easy to fo
2828
* Use `[string, int]` for configuration variables that accept multiple types.
2929
* Use YAML sequence syntax in the sample code if it is supported.
3030
* All examples should be formatted to be included in `configuration.yaml` unless explicitly stated.
31+
* Use capital letters and `_` to indicate that the value needs to be replaced. E.g., `api_key: YOUR_API_KEY` or `api_key: REPLACE_ME`.
32+
* If you know that the API key or value contains [control characters](https://en.wikipedia.org/wiki/YAML#Syntax), e.g., `#`, `[`, `?`, etc., wrap it in quotes and add a note.
3133
* Component and platform names should be a link to their respective documentation pages.
3234

3335
## {% linkable_title Templates %}

0 commit comments

Comments
 (0)