Skip to content

Commit

Permalink
Merge branch '6.0' into fix-1683-mermaid-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Nov 22, 2024
2 parents 7e5f109 + 6f30206 commit 41a06ab
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions docs/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ The log file is usually named `CHANGES.rst`, `CHANGES.md`, or `CHANGELOG.md`, an
When a package is released with a new version, the release manager runs `towncrier` as part of the release process.
Because the log file is automatically generated, you should not edit it directly, except to make corrections, such as broken links.


(contributing-create-a-news-item-file-label)=

### Create a news item file

To create a change log entry or news item, create a file in the `news` directory, located in the root of the package.

For Volto, its repository is in a monorepo structure, consisting of several packages in the `packages` folder.
Expand All @@ -105,29 +110,35 @@ The change log entry's format must be `###.type`, where `###` is the referenced

A package configures the types it allows in a file `towncrier.toml` located at the root of its package directory.

The content of this file must include the following.

- A brief message that summarizes the changes in your contribution.
- An attribution to yourself, in the format of `@github_username`.
(write-a-good-change-log-entry-label)=

### Write a good change log entry

```{important}
These change log entries become narrative documentation.
```

You can write good change log entries with the following guidance.
The content of this file must include the following.

- A brief message that summarizes the changes in your contribution.
- An attribution to yourself, in the format of `@github_username`.

- Use a narrative format, in the past tense, proper English spelling and grammar, and inline markup as needed.
- Write your change log entry for its appropriate audience.
- Most entries should address _users_ of the software.
- An entry for a change to a public API should address _developers_.
- If you fix a bug, write what was broken and is now fixed.
- If you add or change a feature or public API, write a summary of previous behavior, what it does now, and how to use it.
- Refer to narrative documentation as needed.
You can write a good change log entry with the following guidance.

- Use a narrative format, in the past tense, proper English spelling and grammar, and inline markup as needed.
- Write your change log entry for its appropriate audience.
- Most entries should address _users_ of the software.
- An entry for a change to a public API should address _developers_.
- If you fix a bug, write what was broken and is now fixed.
You should not write _how_ you fixed it.
- If you add or change a feature or public API, write a summary of previous behavior, what it does now, and how to use it.
- Refer to narrative documentation as needed.

The following text is an example of a good change log entry, placed inside {file}`/news/4470.documentation`.

```text
Changed a few broken links in `CHANGELOG.md` from URLs to inline literals to avoid errors when validating links. See https://6.docs.plone.org/volto/contributing/documentation.html#docs-linkcheckbroken for usage. @stevepiercy
Changed a few broken links in {file}`CHANGELOG.md` from URLs to inline literals to avoid errors when validating links. See https://6.docs.plone.org/volto/contributing/documentation.html#docs-linkcheckbroken for usage. @stevepiercy
```

The following would be a poor change log entry.
Expand All @@ -136,6 +147,7 @@ The following would be a poor change log entry.
Fix #123456 by chaning config of additionalToolbarComponents [did_not_read_this_guide]
```


(contributing-project-configuration-files-label)=

## Project configuration files
Expand Down

0 comments on commit 41a06ab

Please sign in to comment.