From 37f3528f7f6618130095ef37318176286550f6c2 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sat, 25 Nov 2023 17:32:38 -1000 Subject: [PATCH] Reorganize sidebar --- .vitepress/config.mts | 39 +++++++++++++++++-- .../{endorsement.md => server-endorsement.md} | 0 docs/structures/collection.md | 2 +- 3 files changed, 37 insertions(+), 4 deletions(-) rename docs/extensions/{endorsement.md => server-endorsement.md} (100%) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index feff04b..7d1e46f 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -30,7 +30,8 @@ export default defineConfig({ { text: "Cryptography", items: [ - { text: "Keys", link: "/cryptography/keys" } + { text: "Keys", link: "/cryptography/keys" }, + { text: "Signing", link: "/cryptography/signing" }, ] }, { @@ -40,9 +41,41 @@ export default defineConfig({ { text: "Publications", link: "/objects/publications", items: [ { text: "Note", link: "/objects/note" }, - { text: "Patch", link: "objects/patch" }, + { text: "Patch", link: "/objects/patch" }, ] - } + }, + { + text: "Actors", link: "/objects/actors", items: [ + { text: "User", link: "/objects/user" }, + ] + }, + { + text: "Actions", link: "/objects/actions", items: [ + { text: "Like", link: "/objects/like" }, + { text: "Dislike", link: "/objects/dislike" }, + { text: "Follow", link: "/objects/follow" }, + { text: "FollowAccept", link: "/objects/follow-accept" }, + { text: "FollowReject", link: "/objects/follow-reject" }, + { text: "Announce", link: "/objects/announce" }, + { text: "Undo", link: "/objects/undo" }, + ] + }, + { text: "Server Metadata", link: "/objects/server-metadata" } + ] + }, + { + text: "Federation", + items: [ + { text: "Endpoints", link: "/federation/endpoints" }, + { text: "User Discovery", link: "/federation/user-discovery" }, + { text: "Server Actors", link: "/federation/server-actors" }, + ] + }, + { + text: "Extensions", + link: "/extensions", + items: [ + { text: "Server Endorsements", link: "/extensions/server-endorsement" }, ] } ], diff --git a/docs/extensions/endorsement.md b/docs/extensions/server-endorsement.md similarity index 100% rename from docs/extensions/endorsement.md rename to docs/extensions/server-endorsement.md diff --git a/docs/structures/collection.md b/docs/structures/collection.md index fbe5245..4f453f2 100644 --- a/docs/structures/collection.md +++ b/docs/structures/collection.md @@ -28,4 +28,4 @@ Collections **MUST** contain an `items` field that contains an array of items in ### Author -Collections **MUST** contain an `author` field that contains the URI of the user that created the collection. It is used to identify the author of the collection. If this collection is made by the server and not by a specific user (such as the Endorserment collection with the [ServerEndorsement Extension](/extensions/endorsement)), it must be the server actor's URI. \ No newline at end of file +Collections **MUST** contain an `author` field that contains the URI of the user that created the collection. It is used to identify the author of the collection. If this collection is made by the server and not by a specific user (such as the Endorserment collection with the [ServerEndorsement Extension](/extensions/server-endorsement)), it must be the server actor's URI. \ No newline at end of file