Skip to content

Commit 44d7907

Browse files
committed
Remove mentions of alpha version from Cairo docs
1 parent 09b392c commit 44d7907

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

content/contracts-cairo/index.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Contracts for Cairo
33
---
44

5-
import { latestAlpha, latestStable } from "./latest-versions.js";
5+
import { latestStable } from "./latest-versions.js";
66

77
**OpenZeppelin Contracts for Cairo** provides modular, reusable, and audited smart-contract building blocks for Starknet. The library ships with ready-to-use components, presets, utilities, and tooling that help you ship production-grade Cairo applications faster.
88

@@ -12,9 +12,6 @@ import { latestAlpha, latestStable } from "./latest-versions.js";
1212
<Card href={`/contracts-cairo/${latestStable}`} title={`Latest Stable (${latestStable})`}>
1313
Explore the stable and audited documentation set, including installation, components, and production-ready guides.
1414
</Card>
15-
<Card href="/contracts-cairo/alpha" title={`Latest Alpha (${latestAlpha})`}>
16-
Try the upcoming features, updated APIs, and experimental packages before they are audited, available in the alpha release track.
17-
</Card>
1815
<Card href={`/contracts-cairo/${latestStable}/wizard`} title="Contracts Wizard">
1916
Bootstrap Cairo contracts with the interactive Wizard and learn how features compose across packages.
2017
</Card>
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
import { UMBRELLA_VERSION as latestAlphaVersion } from "./alpha/utils/constants.js";
2-
31
export const latestStable = "3.x";
4-
export const latestAlpha = latestAlphaVersion;

src/components/banners/alpha-banner.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
"use client";
22

3-
import {
4-
latestAlpha,
5-
latestStable,
6-
} from "content/contracts-cairo/latest-versions";
3+
import { latestStable } from "content/contracts-cairo/latest-versions";
74
import { Callout } from "fumadocs-ui/components/callout";
85
import Link from "next/link";
96
import { usePathname } from "next/navigation";
@@ -40,7 +37,7 @@ export function AlphaBanner() {
4037
return (
4138
<Link href={stableUrl} className="hover:underline transition-all">
4239
<Callout title="Alpha Version" type="warn">
43-
You're viewing an unaudited alpha version <code>v{latestAlpha}</code>.
40+
You're viewing an unaudited alpha version.
4441
Click here to visit the latest stable release.
4542
</Callout>
4643
</Link>

0 commit comments

Comments
 (0)