blob: f23b8b79b2a5268a2787bae44a0bd088cf10118c [file] [log] [blame] [view]
# Authoring Guide
This document serves as a guide for editors and reviewers. Some conventions and content guidelines are specified in the [introduction].
[introduction]: ../src/introduction.md
## Content guidelines
The following are guidelines for the content of the reference.
### Targets
The reference does not document which targets exist, or the properties of specific targets. The reference may refer to *platforms* or *target properties* where required by the language. Some examples:
* Conditional-compilation keys like `target_os` are specified to exist, but not what their values must be.
* The `windows_subsystem` attribute specifies that it only works on Windows platforms.
* Inline assembly and the `target_feature` attribute specify the architectures that are supported.
### Editions
The main text and flow should document only the current edition. Whenever there is a difference between editions, the differences should be called out with an edition block, such as:
```markdown
r[foo.bar.edition2021]
> [!EDITION-2021]
> Describe what changed in 2021.
```