Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

Commit b0bb7a1

Browse files
authored
Archival Announcement (#3272)
### Add Archival Announcement Please be advised that this repository is slated to be deprecated and will be marked as archived and read-only. While all existing code will remain accessible, we will no longer accept new pull requests or issues after the archiving date and no new features or updates will be developed. Website banner: <img width="1512" alt="image" src="https://github.com/user-attachments/assets/4d16f983-1aa0-4147-a27d-634c5c23fa10" />
1 parent a6d39b3 commit b0bb7a1

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
</a>
2727
</p>
2828

29+
> **Archival Announcement:** Please be advised that this repository is slated to be deprecated and will be marked as archived and read-only. While all existing code will remain accessible, we will no longer accept new pull requests or issues after the archiving date and no new features or updates will be developed. If you have any questions or concerns, please reach out to clutch@lyft.com.
30+
2931
<p align="center">
3032
<a href="#key-features">Key Features</a> •
3133
<a href="#getting-started">Getting Started</a> •

docs/_website/docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ module.exports = {
1313
plugins: [],
1414
customFields: {
1515
tagDescription: "An extensible platform for infrastructure management.",
16+
archivalNotice: {
17+
enabled: true,
18+
title: "Archival Announcement",
19+
message:
20+
"Please be advised that the Clutch repository is slated to be deprecated and will be marked as archived and read-only. While all existing code will remain accessible, we will no longer accept new pull requests or issues after the archiving date and no new features or updates will be developed. If you have any questions or concerns, please reach out to clutch@lyft.com.",
21+
},
1622
hero: {
1723
description:
1824
"Clutch provides everything you need to improve your developers' experience and operational capabilities. It comes with several out-of-the-box features for managing cloud-native infrastructure, but is easily configured or extended to interact with whatever you run, wherever you run it.",

docs/_website/src/pages/index.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ import {
1414
SiteConfig,
1515
} from "../theme/types";
1616

17+
function ArchivalNotice(): JSX.Element | null {
18+
const context = useDocusaurusContext();
19+
const siteConfig = context.siteConfig as SiteConfig;
20+
const notice = siteConfig.customFields.archivalNotice;
21+
22+
if (notice === undefined || notice === null || !notice.enabled) {
23+
return null;
24+
}
25+
26+
return (
27+
<div className={classnames("alert alert--warning", styles.archivalNotice)}>
28+
<div className="container">
29+
<h4 style={{ marginBottom: "0.5rem" }}>{notice.title}</h4>
30+
<p style={{ marginBottom: 0 }}>{notice.message}</p>
31+
</div>
32+
</div>
33+
);
34+
}
35+
1736
interface HeroProps extends Pick<SiteConfig, "tagline"> {
1837
config: HeroConfig;
1938
}
@@ -191,6 +210,7 @@ function Home(): JSX.Element {
191210
title={siteConfig.title}
192211
description={siteConfig.customFields.tagDescription}
193212
>
213+
<ArchivalNotice />
194214
<Hero
195215
tagline={siteConfig.tagline}
196216
config={siteConfig.customFields.hero}

docs/_website/src/pages/styles.module.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,16 @@
187187
text-align: center;
188188
}
189189
}
190+
191+
.archivalNotice {
192+
background-color: #fff3cd;
193+
border-color: #ffeeba;
194+
color: #856404;
195+
padding: 1rem 0;
196+
margin-bottom: 0;
197+
}
198+
199+
.archivalNotice h4 {
200+
color: #856404;
201+
font-weight: 600;
202+
}

docs/_website/src/theme/types.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export interface SiteConfig extends DocusaurusConfig {
4747
};
4848
tagDescription: string;
4949
hero: HeroConfig;
50+
archivalNotice?: {
51+
enabled: boolean;
52+
title: string;
53+
message: string;
54+
};
5055
};
5156
}
5257

0 commit comments

Comments
 (0)