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
24 changes: 7 additions & 17 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
remarkDefinitionList,
defListHastHandlers,
} from "remark-definition-list";
import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
import starlightOpenAPI, { openAPISidebarGroups } from "starlight-openapi";

// https://astro.build/config
export default defineConfig({
Expand All @@ -26,8 +26,8 @@ export default defineConfig({
base: "/explorer",
label: "API explorer",
schema: "./schema.yml",
}
])
},
]),
],
sidebar: [
{
Expand All @@ -40,19 +40,9 @@ export default defineConfig({
},
{
label: "Specifications",
items: [
{
label: "Introduction",
link: "specs",
},
{
label: "Subscriptions",
collapsed: true,
autogenerate: {
directory: "specs/subscriptions",
},
},
],
autogenerate: {
directory: "specs",
},
},
...openAPISidebarGroups,
],
Expand All @@ -68,7 +58,7 @@ export default defineConfig({
"TabItem",
],
},
"src/components/SponsorCallout.astro"
"src/components/SponsorCallout.astro",
],
}),
],
Expand Down
3 changes: 0 additions & 3 deletions src/content/docs/partials/_core-action.mdx

This file was deleted.

3 changes: 0 additions & 3 deletions src/content/docs/partials/_core-endpoint.mdx

This file was deleted.

32 changes: 32 additions & 0 deletions src/content/docs/specs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: API reference
description: The Open Podcast API is a standard that facilitates the synchronization of podcast data between podcast clients.
sidebar:
order: 1
---

## 1. Overview

The Open Podcast API is a standard that facilitates the synchronization of podcast data between podcast clients.

This specification aims to provide comprehensive instructions for client and server developers looking to support the standard.

## 2. Definitions

The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" in this document are to be interpreted as described in [RFC 2119](https://www.rfc-editor.org/rfc/rfc2119).

### 2.1 Core and Optional endpoints

To ensure that the end-user experience is consistent across implementations, the specifications mark endpoints and features as Core (required) and Optional.

Core
: The feature or endpoint MUST be supported by all clients and servers.

Optional
: The feature or endpoint is considered to be additional functionality. Clients and servers MAY optionally support any combination of these features. Any project implementing Optional functionality SHOULD inform users about what is supported.


## 3. Core endpoints

- [Subscriptions](/specs/subscriptions)

37 changes: 0 additions & 37 deletions src/content/docs/specs/index.mdx

This file was deleted.

Loading
Loading