Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@

lint_alphabetical_section_titles = ["glossary"]

lint_no_paragraph_ids = ["index", "changelog", "glossary"]
lint_no_paragraph_ids = ["changelog", "dev-guide", "glossary", "index"]
87 changes: 87 additions & 0 deletions src/dev-guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
.. SPDX-License-Identifier: MIT OR Apache-2.0
SPDX-FileCopyrightText: The Rust Project Contributors

.. default-domain:: spec

.. informational-page::

Developer Guide
===============

This document outlines the various formats, processes, and procedures associated with the maintenance of the FLS.

Changelog maintenance
---------------------

The Changelog is located in ``src/changelog.rst``. It should be updated using one of the sentence patterns outlined below. Note that this is not an exhaustive list, and special cases would need to use their own wording.

No change
~~~~~~~~~

When an entry in the Rust Release Notes does not affect the FLS, provide the reason as to why this is the case. Below are a few examples of such justifications::

- Lints are outside the scope of the FLS
- Target XYZ is outside the scope of the FLS
- The exact mechanics of the borrow checker are outside the scope of the FLS
- The restriction was not specified in the FLS
- Configuration options are environment-specific and not exhaustive

Glossary entries
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure we want to document glossary entries since they are informational content (and we are planning to have them be mere duplicates of main content anyways)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep this part in for now. Once the glossary generation machinery is in, we will remove this part.

~~~~~~~~~~~~~~~~

When working with glossary entries, use the following sentence pattern for a single glossary entry::

<Action> glossary entry: :t:`term`

Use the following sentence pattern for multiple paragraphs::

<Action> glossary entries:
- :t:`term`
- :t:`term`

``<Action>`` must denote either ``Changed``, ``New``, or ``Removed``.

Paragraphs
~~~~~~~~~~

When working with paragraphs, use the following sentence pattern for a single paragraph::

<Action> paragraph: :p:`fls_paragraph_id`

Use the following sentence pattern for multiple paragraphs::

<Action> paragraphs:
- :p:`fls_paragraph_id`
- :p:`fls_paragraph_id`

``<Action>`` must denote either ``Changed``, ``Moved``, ``New``, or ``Removed``.

Sections
~~~~~~~~

When working with sections, use the following sentence pattern for a single section::

<Action> section :ref:`fls_section_id`

Use the following sentence pattern for multiple sections::

<Action> sections:
- :ref:`fls_section_id`
- :ref:`fls_section_id`

``<Action>`` must denote either ``Moved``, ``New``, or ``Removed``.

Syntax
~~~~~~

When working with syntax, use the following sentence pattern for a single syntax category::

<Action> syntax: :s:`syntax_category`

Use the following sentence pattern for multiple syntax categories::

<Action> syntax:
- :s:`syntax_category`
- :s:`syntax_category`

``<Action>`` must denote either ``Changed``, ``New``, or ``Removed``.
1 change: 1 addition & 0 deletions src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ FLS
licenses
glossary
undefined-behavior
dev-guide
changelog
background

Expand Down
Loading