Release notes
Setting up the release notes feature
The release notes feature is toggled by creating a conventionally named file src/content/releases.mdx
.
The file is written like a regular content page. The Docs-Kit is automatically generating the release notes list below the content of that file and is applying a custom layout with filters for finding release notes.
See the test site for an example.
Creating a new release note
Release note files can be found in src/content/releases
and are written in MDX like regular content. You can also place files in folders to better organize the release notes.
Calling yarn create-docs-release-note
in the terminal guides through the creation
The files' location does not imply the URL like for content. The URL is built from the frontmatter fields for date and title. This way you can reorganize the files without changing the URL of the release note.
To learn the full release note file format including the full specification of the frontmatter fields, see the specification by example file.
Template
When not using the CLI tool to create a release note, you can use this template:
---date: 2020-01-01title: (TEMPLATE) TITLEdescription:| # title content and what this is good for // max 256 characters // for MC, RSS and other feeds(TEMPLATE) DESCRIPTIONtype: enhancement # feature | fix | enhancement | announcementtopics:# uncomment matching topics. Stay focused.# - Products# - Product List# - Categories# - Carts# - API Clients# - Settings---FooBar Intro Line: What this is good for (like description)- [API] FooBar<!--more-->A longer explanation here that is just shown on the details page.If there is no more, remove the marker above, too.