Add changesets and API reports
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-adr': patch
|
||||
---
|
||||
|
||||
Render table of front matter metadata when displaying MADR v3 formatted ADR
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-adr-backend': patch
|
||||
---
|
||||
|
||||
Use front matter parser for MADR v3 formatted ADRs when indexing status/date
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-adr-common': patch
|
||||
---
|
||||
|
||||
Add utility function for parsing MADR front matter
|
||||
@@ -35,4 +35,15 @@ export const MADR_DATE_FORMAT = 'yyyy-MM-dd';
|
||||
|
||||
// @public
|
||||
export const madrFilePathFilter: AdrFilePathFilterFn;
|
||||
|
||||
// @public
|
||||
export interface ParsedMadr {
|
||||
attributes: Record<string, unknown>;
|
||||
content: string;
|
||||
date?: string;
|
||||
status?: string;
|
||||
}
|
||||
|
||||
// @public
|
||||
export const parseMadrWithFrontmatter: (content: string) => ParsedMadr;
|
||||
```
|
||||
|
||||
@@ -80,6 +80,7 @@ export const AdrReader: {
|
||||
decorators: Readonly<{
|
||||
createRewriteRelativeLinksDecorator(): AdrContentDecorator;
|
||||
createRewriteRelativeEmbedsDecorator(): AdrContentDecorator;
|
||||
createFrontMatterFormatterDecorator(): AdrContentDecorator;
|
||||
}>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user