Skip to content

Commit aae226d

Browse files
authored
Nextra v4 upgrade (#439)
1 parent 99f7dd7 commit aae226d

File tree

122 files changed

+1326
-2403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1326
-2403
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ node_modules/*
44
.next
55
.env*
66
tsconfig.tsbuildinfo
7+
_pagefind/
8+
out/
9+
pagefind.log
710

811
# Generated
912
public/robots.txt

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
repos:
23
- repo: "https://github.com/DavidAnson/markdownlint-cli2"
34
rev: "v0.14.0"

.yamllint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ yaml-files:
66
- ".yamllint"
77
ignore: |
88
pnpm-lock.yaml
9+
pnpm-workspace.yaml
910
node_modules/
1011
extends: "default"
1112
rules:

pages/_meta.ts renamed to app/_meta.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { MetaRecord } from "nextra";
2+
13
export default {
24
index: {
35
title: "Documentation",
@@ -19,4 +21,4 @@ export default {
1921
title: "MCP",
2022
type: "page",
2123
},
22-
};
24+
} satisfies MetaRecord;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
import type { MetaRecord } from "nextra";
2+
13
export default {
24
"grpc-api": {
35
title: "gRPC API Reference",
46
href: "https://buf.build/authzed/api/docs/main:authzed.api.v1",
5-
newWindow: true,
67
},
78
"http-api": {
89
title: "HTTP API Reference",
910
},
1011
"cloud-api": {
1112
title: "Cloud API Reference",
1213
href: "https://www.postman.com/authzed/spicedb/collection/5fm402n/authzed-cloud-api",
13-
newWindow: true,
1414
},
15-
};
15+
} satisfies MetaRecord;

app/authzed/api/http-api/page.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { Swagger } from "@/components/swagger";
2+
3+
# HTTP API Documentation
4+
5+
<Swagger />
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)