Add latest version column to function catalog documentation#1226
Add latest version column to function catalog documentation#1226aravindtga wants to merge 1 commit intokptdev:mainfrom
Conversation
✅ Deploy Preview for krm-function-catalog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Adds a “Latest Version” column to the function catalog table by querying GitHub tags per function at build time and linking the displayed version to the corresponding GitHub release.
Changes:
- Add per-function GitHub API lookups and semver-like selection logic to compute/display latest versions.
- Add Hugo
security.funcs.getenvallowlist entry forKRM_CATALOG_API_TOKEN. - Document how to configure an API token for local/Netlify builds and link docs from CONTRIBUTING.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| documentation/layouts/shortcodes/listfunctions.html | Fetches tags from GitHub and renders a new “Latest Version” column with release links |
| documentation/config.toml | Allows reading KRM_CATALOG_API_TOKEN via Hugo security config |
| documentation/README.md | Documents optional GitHub token setup to avoid rate limits |
| CONTRIBUTING.md | Adds pointer to documentation README for running the docs site |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
926bf50 to
1a152e6
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This should be rebased once #1227 is merged. |
Description
This PR adds a "Latest Version" column to the function listing on the catalog documentation site, showing the latest released version for each function with a link to its GitHub release.
Changes
Notes
KRM_CATALOG_API_TOKENvia the site's environment variables in the Netlify UI.