Skip to content

Commit

Permalink
Docusaurs v3, beta openapi specs
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyliu7321 committed Dec 1, 2023
1 parent b3b8cf8 commit 19b2f57
Show file tree
Hide file tree
Showing 114 changed files with 261,842 additions and 3,746 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The [atproto.com](https://atproto.com) website, including the AT Protocol specif

## Docs Development

This website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.

For live-reloading development:

Expand All @@ -22,6 +22,13 @@ To output a build:

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Generate OpenAPI to Docusaurus MDX

We use the [`docusaurus-openapi-docs`](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs) plugin.

Run `npx docusaurus-mdx-checker` to see MDX compatability.

Run `npm run docusaurus gen-api-docs <id>` to generate MDX docs from an OpenAPI spec.

## Are you a developer interested in building on atproto?

Expand Down
8 changes: 8 additions & 0 deletions docs/api/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Bluesky API",
"position": 3,
"link": {
"type": "generated-index",
"description": "Bluesky API"
}
}
Loading

0 comments on commit 19b2f57

Please sign in to comment.