Skip to content

Commit

Permalink
Integrate doc into ooni/devops and ooni/backend
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jan 6, 2025
1 parent c59d890 commit c0df680
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6,477 deletions.
24 changes: 9 additions & 15 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
import starlightOpenAPI, { openAPISidebarGroups } from "starlight-openapi";
import vercel from "@astrojs/vercel/static";

// https://astro.build/config
Expand All @@ -17,14 +17,14 @@ export default defineConfig({
// Generate the OpenAPI documentation pages.
starlightOpenAPI([
{
base: 'api-oonirun',
label: 'OONI Run API',
schema: './schemas/oonirun.json',
base: "api-oonirun",
label: "OONI Run API",
schema: "./schemas/oonirun.json",
},
{
base: 'api-oonifindings',
label: 'OONI Findings API',
schema: './schemas/oonifindings.json',
base: "api-oonifindings",
label: "OONI Findings API",
schema: "./schemas/oonifindings.json",
},
]),
],
Expand Down Expand Up @@ -59,15 +59,9 @@ export default defineConfig({
directory: "probe-engine",
},
},
{
label: "Legacy Backend",
autogenerate: {
directory: "legacybackend",
},
},
...openAPISidebarGroups
...openAPISidebarGroups,
],
customCss: ["./src/styles/custom.css"],
}),
]
],
});
116 changes: 0 additions & 116 deletions src/content/docs/legacybackend/02-architecture.md

This file was deleted.

Loading

0 comments on commit c0df680

Please sign in to comment.