Skip to content

Commit a8b3212

Browse files
committed
Add API deprecations callout
1 parent a6427da commit a8b3212

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/components/AvailableChangelogFeeds.astro

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,18 @@ const productsByGroup = Object.entries(
9595
</p>
9696
</Aside>
9797
)}
98+
{group === "Cloudflare essentials" && (
99+
<Aside type="note" title="API deprecations feed">
100+
<p>
101+
Cloudflare also maintains a separate{" "}
102+
<a href="/fundamentals/api/reference/deprecations/">
103+
API deprecations page.
104+
</a>
105+
<br />
106+
<RSSButton href="/fundamentals/api/reference/deprecations/index.xml" />
107+
</p>
108+
</Aside>
109+
)}
98110
</>
99111
))
100112
}

src/components/RSSButton.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const props = z
1616
);
1717
1818
const input = props.parse(Astro.props);
19+
console.log(input);
1920
---
2021

2122
<a

0 commit comments

Comments
 (0)