-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release notes] Add new frontmatter for the indexer (#1985)
* chore: add new frontmatter * feat: attempt to make type backwards compatible * fix: typo * chore: add some documentation * chore: add changeset * feat: display multiple types * refactor: change type of new frontmatters * chore: add logs to analyse error * refactor: adjust documentation * chore: improve logs * chore: fix build error * feat: add new deprecation release note type --------- Co-authored-by: FFawzy <[email protected]> Co-authored-by: Gabriele Antonini <[email protected]>
- Loading branch information
1 parent
49e9d0a
commit dc1bdf3
Showing
9 changed files
with
122 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@commercetools-docs/gatsby-theme-docs': minor | ||
--- | ||
|
||
Introduce two new frontmatter for release notes called "product" and "productArea". | ||
It also introduces a new release note type called "deprecation". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
websites/docs-smoke-test/src/releases/release-note-with-index-frontmatters.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
date: 2024-05-21 | ||
title: Release note with index frontmatters | ||
description: | | ||
Release note for testing frontmatters that are being used at the release note indexer | ||
type: | ||
- announcement | ||
- fix | ||
- enhancement | ||
- feature | ||
- deprecation | ||
topics: | ||
- Settings | ||
product: Composable Commerce | ||
productArea: HTTP APIs | ||
--- | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters