Skip to content
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

Specify our usage of ABNF for grammar #1582

Merged
merged 3 commits into from Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/1582.clarification
@@ -0,0 +1 @@
Clarify usage of ABNF for grammar in the documentation style guide.
7 changes: 7 additions & 0 deletions meta/documentation_style.rst
Expand Up @@ -185,3 +185,10 @@ The subheadings which are always deemed as client-affecting are:
* Redactions

When a new subheading is added, it must be referenced and ordered in this document.

Describing grammar
~~~~~~~~~~~~~~~~~~

Use [RFC5234-style ABNF](https://datatracker.ietf.org/doc/html/rfc5234) when describing
turt2live marked this conversation as resolved.
Show resolved Hide resolved
the grammar for something in the spec, such as user IDs or server names. Use lowercase
and underscore-deliminated element names (`user_id`, not `UserID` or `user-id`).