Skip to content

Commit 785b486

Browse files
fix(docs): pre-generate API docs to speed up documentation builds
The docusaurus-plugin-openapi-docs was regenerating 148 API documentation files from scratch on every build, generating code samples in 4 languages for each endpoint. This was leading to extremely long build times. By pre-generating and committing these files, we can expect a much shorter build time. This only adds a bit less than 3MB of size to the repo. Files will be regenerated when specs change to ensure they are kept up-to-date. Changes: - Remove API docs directories from .gitignore so they can be tracked - Add scripts/gen-api-mdx.sh to regenerate API docs from OpenAPI specs - Add apidocs-codegen pre-commit hook to auto-regenerate when specs change - Commit 148 generated API documentation files (81 stable, 33 experimental, 34 deprecated) 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🧒 Self-reviewed by Nathan Weinberg <nweinber@redhat.com> Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
1 parent 020f8d1 commit 785b486

File tree

151 files changed

+10358
-3
lines changed

Some content is hidden

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

151 files changed

+10358
-3
lines changed

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ CLAUDE.md
3232
docs/.docusaurus/
3333
docs/node_modules/
3434
docs/static/imported-files/
35-
docs/docs/api-deprecated/
36-
docs/docs/api-experimental/
37-
docs/docs/api/
35+
# Keep only the docusaurus cache and build output ignored
36+
# API docs are now pre-generated and committed (see scripts/gen-api-mdx.sh)
37+
# docs/docs/api-deprecated/ # Tracked - pre-generated
38+
# docs/docs/api-experimental/ # Tracked - pre-generated
39+
# docs/docs/api/ # Tracked - pre-generated
3840
tests/integration/client-typescript/node_modules/
3941
.ts-client-checkout/

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,13 @@ repos:
117117
pass_filenames: false
118118
require_serial: true
119119
files: ^src/llama_stack_api/.*$
120+
- id: apidocs-codegen
121+
name: API Docs MDX Codegen
122+
entry: bash ./scripts/gen-api-mdx.sh
123+
language: system
124+
pass_filenames: false
125+
require_serial: true
126+
files: ^docs/static/.*-spec\.yaml$
120127
- id: check-workflows-use-hashes
121128
name: Check GitHub Actions use SHA-pinned actions
122129
entry: ./scripts/check-workflows-use-hashes.sh
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
id: benchmarks
3+
title: "Benchmarks"
4+
description: "Benchmarks"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
id: datasets
3+
title: "Datasets"
4+
description: "Datasets"
5+
custom_edit_url: null
6+
---
7+
8+
9+
10+
11+
12+
13+
14+
```mdx-code-block
15+
import DocCardList from '@theme/DocCardList';
16+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
17+
18+
<DocCardList items={useCurrentSidebarCategory().items}/>
19+
```
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
id: get-benchmark-v-1-alpha-eval-benchmarks-benchmark-id-get
3+
title: "Get a benchmark by its ID."
4+
description: "Get a benchmark by its ID."
5+
sidebar_label: "Get a benchmark by its ID."
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJztWM1u20YQfpXBnlqDlpwgQRrdnMgJBCSoYSuHwjGEETkUNyZ36d2hbELgM/TeUx+jz9MX6CsUwx+R+kna9NQA8UXScnbmm5lvhjPeKEc+t8aTV5ONenp2Jh8R+dDpnLU1aqLO4RWZMMnQ3Y1UoEJrmAyLHOZ5qkMUufEnL8Ib5cOEMpRvubM5OdaNah2RYR1rcvKLy5zURHl22qxUoFhzKgezXirYg/HB6PuCoNcDsXXAif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+eXscOSfyyCtfR0Bv3O3DctQeb2stXOz/2jgyB+CLDY2BjJRbrVhD2jqV5d2EFrXNIJIRmEpWBdjSL5RjI4ancJ/6+SFZ48bWcrclNKaHK46hO9lsPajj6a5cnLy52+///XHrzC9uLy6eH0+v5ienEzgHa0wLOtQNEYzLGEpw1hm1xTJ3hsXXDgCyZqM/iP40Kxojd5Mr5pqAUcxOTIhgTVpKaxrr6iJWj+pN2brOcO6O7bF8MVC3EnMpu+3X77VlgrTI4/zFLURyzXTNi1bb1TLVhUo4asK+qIUQkx2SvQ2UEJLubbZLNHTB5dWlRzfF+SEj7eBWqPTTUu72ahIe/keqUmMqacvOPLDVVvxP8K/qOFjjnWrrZHFVrYq+aUCdUflfq+pbqtAJYTy7wuB2YichyHlPLh88C7bqfq3F3NVVX8DpqVUXg==
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Get a benchmark by its ID."}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/v1alpha/eval/benchmarks/{benchmark_id}"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Get a benchmark by its ID.
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"benchmark_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the benchmark to get.","title":"Benchmark Id"},"description":"The ID of the benchmark to get."}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={{"200":{"description":"A Benchmark.","content":{"application/json":{"schema":{"properties":{"identifier":{"type":"string","title":"Identifier","description":"Unique identifier for this resource in llama stack"},"provider_resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Unique identifier for this resource in the provider"},"provider_id":{"type":"string","title":"Provider Id","description":"ID of the provider that owns this resource"},"type":{"type":"string","const":"benchmark","title":"Type","description":"The resource type, always benchmark.","default":"benchmark"},"dataset_id":{"type":"string","title":"Dataset Id","description":"Identifier of the dataset to use for the benchmark evaluation."},"scoring_functions":{"items":{"type":"string"},"type":"array","title":"Scoring Functions","description":"List of scoring function identifiers to apply during evaluation."},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Metadata for this evaluation task."}},"type":"object","required":["identifier","provider_id","dataset_id","scoring_functions"],"title":"Benchmark","description":"A benchmark resource for evaluating model performance."}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"}}}}}}
66+
>
67+
68+
</StatusCodes>
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
id: get-dataset-v-1-beta-datasets-dataset-id-get
3+
title: "Get a dataset by its ID."
4+
description: "Get a dataset by its ID."
5+
sidebar_label: "Get a dataset by its ID."
6+
hide_title: true
7+
hide_table_of_contents: true
8+
api: eJztWc1y48YRfpXOXJxsQaS8tY5j5CSbisMqr6OipENKVKmaQIMcG5jBzgzIRdF4Bt998mPkefICeYVUz+CHf5KytsuVrZIuIAb931/39Iy2wpAttbJkRbwVr8/P+ZGSTYwsndRKxOJmRZCiQ0sO9OI7StxIRCLRypFyTI5lmcsEmXz8nWWerbDJigrkX6XRJRkngwaZknIyk2T4zdUliVhYZ6Raikg46XJemA5U0YE1t0q+qwgGOZBpA24lLRiyujIJgVSQ51ggWIfJ96KJ2Ii1TMk8dDQPMvWmq/ofmYjvDk1pon5FVXkumvtfaIdbEXTK9wwJ+h8LwFVLBtP0KALTCehsTzC4FTrQG2X3DWCFQcOxpkQr60Qs2szu6L5hykOlvMhqO9ERYL7B2sInrYBPvP/ti/X8GVb5rgp2vzKltnQMsqvwofOsw5tUqUeWWoJ0FiRjLqUUKssmHvpEqipEfCdKbd2ZMyiVVMt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UxGJJ7qEle1h/uiCH3at96D/I9OFh6aehEg0W5MhYHwgVTnkDneCQiViU6FZ7k1iYAwfAHI7dx4P2cCXYD6UaluQvag/GNL5RbD5MBiepILfSbRC8b24lYjEOYRh3YRhvB/caHhZ96QX/K8NFx3N+PB6jqs9W2jpKz/xN7Zm/qeWZ32uzlFRGutozTroivLvnb1JleheQ3/ib3mvmh+uSEpm1pQdnMKHSUIJc3xdX01PnTWn5oMle2z3eNhS7wv2c347Fdq7gxB+CvyTPgFRaaqmc9YOuW5E0kGgTyjz115ncnjJMyAbBaCjIZHT7Q6DTp5UseCrKaU0Gl52Fb3VKuR3NVWB59erfP/38n3/9CJPLq9nlVxc3l5NXr2L4hpaY1D4UQWmBNZ9aDBV6HY6dWeUqQ8BZk1rZEdxaP7gHuYVcttcbhjIypBICrfKacdayiFisP/VXvdq6An3va6H/RKHtpWU79NKneNqycPTejcscpQonVd+tAj7vRMAnKxgupuOdEryPBMOQSbf+xHhr8qbh5XcVGcbffSTWaGRoUHdbvsXh36mIM8wtPWH6H2dtRf8Jnq3RU650FyeKr034UMRvIhLfU73fR5r7JhIrQv4XA5sYCC6ShEq3w3q0K+3V9deXN6Jp/gvgve1C
9+
sidebar_class_name: "get api-method"
10+
info_path: docs/api-deprecated/llama-stack-specification-deprecated-apis
11+
custom_edit_url: null
12+
---
13+
14+
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
15+
import ParamsDetails from "@theme/ParamsDetails";
16+
import RequestSchema from "@theme/RequestSchema";
17+
import StatusCodes from "@theme/StatusCodes";
18+
import OperationTabs from "@theme/OperationTabs";
19+
import TabItem from "@theme/TabItem";
20+
import Heading from "@theme/Heading";
21+
22+
<Heading
23+
as={"h1"}
24+
className={"openapi__heading"}
25+
children={"Get a dataset by its ID."}
26+
>
27+
</Heading>
28+
29+
<MethodEndpoint
30+
method={"get"}
31+
path={"/v1beta/datasets/{dataset_id}"}
32+
context={"endpoint"}
33+
>
34+
35+
</MethodEndpoint>
36+
37+
38+
39+
Get a dataset by its ID.
40+
41+
<Heading
42+
id={"request"}
43+
as={"h2"}
44+
className={"openapi-tabs__heading"}
45+
children={"Request"}
46+
>
47+
</Heading>
48+
49+
<ParamsDetails
50+
parameters={[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","description":"The ID of the dataset to get.","title":"Dataset Id"},"description":"The ID of the dataset to get."}]}
51+
>
52+
53+
</ParamsDetails>
54+
55+
<RequestSchema
56+
title={"Body"}
57+
body={undefined}
58+
>
59+
60+
</RequestSchema>
61+
62+
<StatusCodes
63+
id={undefined}
64+
label={undefined}
65+
responses={{"200":{"description":"The dataset object.","content":{"application/json":{"schema":{"properties":{"identifier":{"type":"string","title":"Identifier","description":"Unique identifier for this resource in llama stack"},"provider_resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Unique identifier for this resource in the provider"},"provider_id":{"type":"string","title":"Provider Id","description":"ID of the provider that owns this resource"},"type":{"type":"string","const":"dataset","title":"Type","description":"Type of resource, always 'dataset' for datasets","default":"dataset"},"purpose":{"description":"Purpose of the dataset indicating its intended use","type":"string","enum":["post-training/messages","eval/question-answer","eval/messages-answer"],"title":"DatasetPurpose"},"source":{"oneOf":[{"title":"URIDataSource","properties":{"type":{"type":"string","const":"uri","title":"Type","description":"The type of data source.","default":"uri"},"uri":{"type":"string","title":"Uri","description":"The dataset can be obtained from a URI. E.g. \"https://mywebsite.com/mydata.jsonl\", \"lsfs://mydata.jsonl\", \"data:csv;base64,{base64_content}\""}},"type":"object","required":["uri"],"description":"A dataset that can be obtained from a URI."},{"title":"RowsDataSource","properties":{"type":{"type":"string","const":"rows","title":"Type","description":"The type of data source.","default":"rows"},"rows":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Rows","description":"The dataset is stored in rows. E.g. [{\"messages\": [{\"role\": \"user\", \"content\": \"Hello, world!\"}, {\"role\": \"assistant\", \"content\": \"Hello, world!\"}]}]"}},"type":"object","required":["rows"],"description":"A dataset stored in rows."}],"title":"URIDataSource | RowsDataSource","description":"Data source configuration for the dataset","discriminator":{"propertyName":"type","mapping":{"rows":{"properties":{"type":{"type":"string","const":"rows","title":"Type","description":"The type of data source.","default":"rows"},"rows":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Rows","description":"The dataset is stored in rows. E.g. [{\"messages\": [{\"role\": \"user\", \"content\": \"Hello, world!\"}, {\"role\": \"assistant\", \"content\": \"Hello, world!\"}]}]"}},"type":"object","required":["rows"],"title":"RowsDataSource","description":"A dataset stored in rows."},"uri":{"properties":{"type":{"type":"string","const":"uri","title":"Type","description":"The type of data source.","default":"uri"},"uri":{"type":"string","title":"Uri","description":"The dataset can be obtained from a URI. E.g. \"https://mywebsite.com/mydata.jsonl\", \"lsfs://mydata.jsonl\", \"data:csv;base64,{base64_content}\""}},"type":"object","required":["uri"],"title":"URIDataSource","description":"A dataset that can be obtained from a URI."}}}},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata","description":"Any additional metadata for this dataset"}},"type":"object","required":["identifier","provider_id","purpose","source"],"title":"Dataset","description":"Dataset resource for storing and accessing training or evaluation data."}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"description":"Error response from the API. Roughly follows RFC 7807.","properties":{"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"detail":{"title":"Detail","type":"string"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"nullable":true}},"required":["status","title","detail"],"title":"Error","type":"object"}}}}}}
66+
>
67+
68+
</StatusCodes>

0 commit comments

Comments
 (0)