Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion frontend/docs/toc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default [
},
{
title: "Overview",
id: "governance/overview",
id: "governance",
group: "Governance",
},
{
Expand Down
16 changes: 16 additions & 0 deletions frontend/routes/docs/governance/overview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2024 the JSR authors. All rights reserved. MIT license.
import { define } from "../../../util.ts";

/**
* Redirects to /docs/governance so links to /docs/governance/overview will still work.
*/
export const handler = define.handlers({
GET() {
return new Response("", {
headers: {
location: `/docs/governance`,
},
status: 301,
});
},
});