fix: correct API reference link path in rest-api.md#320
Conversation
The link used `../_generated/api-reference.html` which resolves outside the docs tree in MkDocs source-relative resolution. The generated file lives at `docs/_generated/api-reference.html`, so the correct path from `docs/rest-api.md` is `_generated/api-reference.html` (no `../` prefix). This broke `mkdocs build --strict` (GitHub Pages + PR Preview workflows).
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a critical issue where the API reference link in the documentation was incorrectly formed, leading to build failures in both local development environments and CI/CD pipelines. By adjusting the relative path, the documentation now builds successfully, ensuring that the API reference is accessible and the project's documentation workflows remain operational. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
📝 WalkthroughSummary by CodeRabbitDocumentation
WalkthroughA relative path in an REST API reference link within the documentation was corrected from a parent-directory reference ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
There was a problem hiding this comment.
Code Review
This pull request corrects a broken link in the documentation file docs/rest-api.md. The change removes an incorrect ../ from the link path to the generated API reference page. This resolves an issue that caused the documentation build to fail. The fix is correct and well-contained. No issues were found in this change.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #320 +/- ##
=======================================
Coverage 93.64% 93.64%
=======================================
Files 427 427
Lines 19177 19177
Branches 1846 1846
=======================================
Hits 17959 17959
Misses 943 943
Partials 275 275 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Greptile SummaryThis PR fixes a broken hyperlink in
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant CI as CI Workflow
participant Script as scripts/export_openapi.py
participant DocsDir as docs/_generated/
participant MkDocs as mkdocs build --strict
participant Site as _site/docs/
CI->>Script: uv run python scripts/export_openapi.py
Script->>DocsDir: writes api-reference.html
Script->>DocsDir: writes openapi.json
CI->>MkDocs: uv run mkdocs build --strict
MkDocs->>DocsDir: resolves _generated/api-reference.html ✅
Note over MkDocs,DocsDir: Previously: ../_generated/ escaped docs/ root → warning/abort
MkDocs->>Site: copies _generated/api-reference.html to output
Last reviewed commit: 3827707 |
🤖 I have created a release *beep* *boop* --- ## [0.1.2](v0.1.1...v0.1.2) (2026-03-12) ### Features * add /review-dep-pr skill for dependency update PR review ([#315](#315)) ([56f6565](56f6565)) * add static OpenAPI reference page with Scalar UI ([#319](#319)) ([77cdbcc](77cdbcc)) ### Bug Fixes * correct API reference link path in rest-api.md ([#320](#320)) ([3d08f92](3d08f92)) ### CI/CD * bump actions/setup-node from 4.4.0 to 6.3.0 ([#311](#311)) ([3c99d6f](3c99d6f)) * bump actions/setup-python from 5.6.0 to 6.2.0 ([#312](#312)) ([3273553](3273553)) * bump astral-sh/setup-uv from 6.0.1 to 7.4.0 ([#310](#310)) ([b63cee7](b63cee7)) ### Maintenance * bump mkdocstrings[python] from 0.29.1 to 1.0.3 ([#314](#314)) ([d46ccad](d46ccad)) * bump the minor-and-patch group with 2 updates ([#313](#313)) ([6337ae4](6337ae4)) * improve review-dep-pr skill and add Codecov Test Analytics ([#317](#317)) ([eb5782e](eb5782e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
docs/rest-api.md:../_generated/api-reference.html→_generated/api-reference.html../prefix resolved outside the MkDocs docs tree, causingmkdocs build --strictto abort with a warningTest plan
uv run mkdocs build --strictpasses clean with no warnings