Skip to content

changes to pull in new API docs and display them#3174

Merged
matthewhelmke merged 3 commits intochainguard-dev:mainfrom
matthewhelmke:newapipages
Apr 6, 2026
Merged

changes to pull in new API docs and display them#3174
matthewhelmke merged 3 commits intochainguard-dev:mainfrom
matthewhelmke:newapipages

Conversation

@matthewhelmke
Copy link
Copy Markdown
Collaborator

Fixes/finishes https://github.com/chainguard-dev/internal/issues/5709

WE ARE WAITING FOR TEST JSON FILES, so don't merge yet as this still wants testing.

Once the new API docs are pushed to a Google Cloud storage location, we need to pull them and display them separately and render them properly.

This changes action.yaml from pulling one file api.json to pulling all files that fit the glob pattern api*.json, as all of them will. That gives us a little flexibility as we change v2 from alpha to beta to prod later.

It adds two new pages and edits the existing one. The existing page will display a "unified API" which I have not yet seen. Another is dedicated to the current v1 and the final to v2.

The rendering works via a shortcode that takes a URL as an argument and then uses Scalar, so we should be all set with this (I want to test, though, of course).

@matthewhelmke matthewhelmke requested a review from a team as a code owner April 6, 2026 16:46
@matthewhelmke matthewhelmke self-assigned this Apr 6, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 6, 2026

Deploy Preview for ornate-narwhal-088216 ready!

Name Link
🔨 Latest commit 804ef50
🔍 Latest deploy log https://app.netlify.com/projects/ornate-narwhal-088216/deploys/69d40875e0faa00008714d12
😎 Deploy Preview https://deploy-preview-3174--ornate-narwhal-088216.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@matthewhelmke
Copy link
Copy Markdown
Collaborator Author

The version of the API JSON files I just committed work beautifully on my local machine. I have permission from the PM to push what we have, even if it's broken, and fix tomorrow if that is what has to happen. So, let's try it!!

@matthewhelmke matthewhelmke merged commit 887c0e6 into chainguard-dev:main Apr 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants