File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 8181
8282 version :
8383 type : object
84- description : Version information when the item got added/deprecated/removed.
84+ description : Version information when the item got added/updated/ deprecated/removed.
8585 properties :
8686 added :
8787 type : string
9292 deprecated :
9393 type : string
9494 description : Version when this item was deprecated in MTA.
95+ updated :
96+ type : string
97+ description : Version when this item was updated in MTA.
9598 replacement :
9699 type : string
97100 description : An optional replacement for this item.
Original file line number Diff line number Diff line change 11---
2+ import { renderRevisionLink } from ' @src/utils/general' ;
3+ import EnhancedMarkdown from ' ./EnhancedMarkdown.astro' ;
4+
25interface ChangelogEntry {
36 version: string ;
47 description: string ;
@@ -17,8 +20,8 @@ const { entries } = Astro.props;
1720 <div class = " changelog-list" >
1821 { entries .map (entry => (
1922 <li >
20- <span class = " changelog-version" > { entry .version } </span >
21- <span class = " changelog-description" >{ entry .description } </span >
23+ <span class = " changelog-version" set : html = { renderRevisionLink ( entry .version ) } > </span >
24+ <span class = " changelog-description" >< EnhancedMarkdown content = { entry .description } /> </span >
2225 </li >
2326 ))}
2427 </div >
@@ -40,6 +43,7 @@ const { entries } = Astro.props;
4043 font-weight: bold;
4144 color: var(--sl-color-orange-high);
4245 display: block;
46+ text-decoration: none;
4347}
4448
4549.changelog-description {
You can’t perform that action at this time.
0 commit comments