Skip to content

Commit 1ad2a18

Browse files
[Docs] Fix swagger rendering in REST API docs
- Add generated openapi.json to source directory so render_swagger can find it - Enable allow_arbitrary_locations in render_swagger config - Gen-files plugin will keep the file updated during builds Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 3315166 commit 1ad2a18

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/docs/reference/api/rest/openapi.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ plugins:
148148
options:
149149
docstring_style: google
150150
show_source: false
151-
- render_swagger
151+
- render_swagger:
152+
allow_arbitrary_locations: true
152153

153154
# Extensions
154155
markdown_extensions:

0 commit comments

Comments
 (0)