File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
doc/starlight/src/pages/changelog Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11---
22import StarlightPage from " @astrojs/starlight/components/StarlightPage.astro" ;
3+ import { LinkCard } from " @astrojs/starlight/components" ;
34import { getCollection , render } from " astro:content" ;
45
56export async function getStaticPaths() {
@@ -26,5 +27,11 @@ const { Content, headings } = await render(entry);
2627 pagefind: false , // We don't want to pollute our search with release-notes entries
2728 }}
2829 headings ={ headings }
29- ><Content />
30+ >
31+ <LinkCard
32+ title =" View on GitHub"
33+ href ={ ` https://github.com/RIOT-OS/RIOT/releases/tag/${entry .data .slug .replaceAll (" -" , " ." )} ` }
34+ description =" The changelog can also be found on GitHub."
35+ />
36+ <Content />
3037</StarlightPage >
You can’t perform that action at this time.
0 commit comments