Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Move changelog (#3460)

robert-inkeepb36cd793b418
diff --git a/docs/content/meta.json b/docs/content/meta.json
index 70077f2ae..613c4302c 100644
--- a/docs/content/meta.json
+++ b/docs/content/meta.json
@@ -2,7 +2,6 @@
"title": "OpenKnowledge",
"icon": "LuBookOpen",
"pages": [
- "[LuHistory][Changelog](/docs/changelog)",
"---GET STARTED---",
"...get-started",
"---USE CASES---",
diff --git a/docs/content/reference/meta.json b/docs/content/reference/meta.json
index b01a5fac0..a0cfd8d39 100644
--- a/docs/content/reference/meta.json
+++ b/docs/content/reference/meta.json
@@ -8,6 +8,7 @@
"configuration",
"mcp",
"components",
- "what-open-knowledge-writes"
+ "what-open-knowledge-writes",
+ "[LuHistory][Changelog](/docs/changelog)"
]
}
diff --git a/docs/src/app/docs/changelog/[tag]/page.tsx b/docs/src/app/docs/changelog/[tag]/page.tsx
index d97cd8080..85feed1b0 100644
--- a/docs/src/app/docs/changelog/[tag]/page.tsx
+++ b/docs/src/app/docs/changelog/[tag]/page.tsx
@@ -1,5 +1,7 @@
import { DocsBody, DocsDescription, DocsPage, DocsTitle } from 'fumadocs-ui/page';
+import { ArrowLeft } from 'lucide-react';
import type { Metadata } from 'next';
+import Link from 'next/link';
import { notFound } from 'next/navigation';
import { getChangelogSource, getReleasePages } from '@/lib/changelog-source';
import { CHANGELOG_ROUTE, metaDescription, SITE_NAME, SITE_URL } from '@/lib/site';
@@ -8,11 +10,10 @@ import { CHANGELOG_ROUTE, metaDescription, SITE_NAME, SITE_URL } from '@/lib/sit
* `/docs/changelog/<tag>` — one indexable page per stable release.
*
* These pages exist for search-engine indexing: every release gets its own URL in
- * the sitemap even though the timeline at `/docs/changelog` links only to anchors,
- * not to these pages. Data comes from the same build-time changelog source adapter;
- * `dynamic = 'force-static'` + `dynamicParams = false` prerender exactly the known
- * tags as static HTML and 404 anything else (so the sibling `rss.xml` route is
- * never shadowed).
+ * the sitemap and the timeline links to these pages. Data comes from the same
+ * build-time changelog source adapter; `dynamic = 'force-static'` +
+ * `dynamicParams = false` prerender exactly the known tags as static HTML and 404
+ * anything else (so the sibling `rss.xml` route is never shadowed).
*/
export const dynamic = 'force-static';
export const dynamicParams = false;
@@ -61,11 +62,15 @@ export default async function ReleasePage(props: PageProps<'/docs/changelog/[tag
return (
<DocsPage article={{ className: 'pb-12' }}>
+ <Link
+ href={CHANGELOG_ROUTE}
+ className="mb-4 inline-flex items-center gap-1.5 text-sm font-medium text-fd-muted-foreground no-underline transition-colors hover:text-fd-primary"
+ >
+ <ArrowLeft className="size-4" aria-hidden="true" />
+ Changelog
+ </Link>
<DocsTitle>{release.title}</DocsTitle>
- <DocsDescription>
- {date ? `Released ${date}. ` : ''}
- Part of the <a href={CHANGELOG_ROUTE}>{SITE_NAME} changelog</a>.
- </DocsDescription>
+ {date ? <DocsDescription>{`Released ${date}.`}</DocsDescription> : null}
<DocsBody>
{release.bodyHtml ? (
// biome-ignore lint/security/noDangerouslySetInnerHtml: trusted maintainer-authored release notes, rendered at build time
diff --git a/docs/src/app/docs/changelog/page.tsx b/docs/src/app/docs/changelog/page.tsx
index c1cc4b381..24e5df0f4 100644
--- a/docs/src/app/docs/changelog/page.tsx
+++ b/docs/src/app/docs/changelog/page.tsx
@@ -2,13 +2,7 @@ import { DocsDescription, DocsPage, DocsTitle } from 'fumadocs-ui/page';
import type { Metadata } from 'next';
import { ChangelogTimeline } from '@/components/changelog-timeline';
import { getChangelogSource } from '@/lib/changelog-source';
-import {
- CHANGELOG_ROUTE,
- metaDescription,
- RELEASES_PAGE_URL,
- SITE_NAME,
- SITE_URL,
-} from '@/lib/site';
+import { CHANGELOG_ROUTE, metaDescription, SITE_NAME, SITE_URL } from '@/lib/site';
/**
* `/docs/changelog` — the stable release notes.
@@ -26,7 +20,7 @@ import {
export const dynamic = 'force-static';
const PAGE_TITLE = 'Changelog';
-const PAGE_DESCRIPTION = `Stable releases of ${SITE_NAME}, newest first, with the notes for every version.`;
+const PAGE_DESCRIPTION = `Release notes for ${SITE_NAME}.`;
const RSS_ROUTE = `${CHANGELOG_ROUTE}/rss.xml`;
export const metadata: Metadata = {
@@ -60,13 +54,7 @@ export default async function ChangelogPage() {
return (
<DocsPage toc={toc} tableOfContent={{ style: 'clerk' }} article={{ className: 'pb-12' }}>
<DocsTitle>{PAGE_TITLE}</DocsTitle>
- <DocsDescription>
- Stable releases, newest first, with notes for every version. Also published on{' '}
- <a href={RELEASES_PAGE_URL} target="_blank" rel="noreferrer">
- GitHub
- </a>
- .
- </DocsDescription>
+ <DocsDescription>{PAGE_DESCRIPTION}</DocsDescription>
{/* Outside DocsBody on purpose — the timeline owns its own chrome and
scopes `prose` to the notes (see ChangelogTimeline). */}
<ChangelogTimeline releases={releases} />
diff --git a/docs/src/lib/site.ts b/docs/src/lib/site.ts
index c5e1ee66e..d903590f7 100644
--- a/docs/src/lib/site.ts
+++ b/docs/src/lib/site.ts
@@ -41,8 +41,6 @@ export const CHANGELOG_ROUTE = '/docs/changelog';
* making it unbounded. The build fetch stays complete (see `releases.ts`).
*/
export const CHANGELOG_TIMELINE_LIMIT = 30;
-/** Re-exported so changelog surfaces link the releases page from one import. */
-export { RELEASES_PAGE_URL } from './download-links';
export const X_URL = `https://x.com/${TWITTER_HANDLE.slice(1)}`;
export const SITE_DESCRIPTION =
'Beautiful, AI-native markdown editor for humans and agents. Build knowledge bases, LLM wikis, and agent 2nd brains.';