codefori / docs

Documentation for Code for IBM i and subsequent extensions
https://codefori.github.io/docs/
MIT License
3 stars 16 forks source link

Feature/Release Notes - Added to Home Page under What's New #26

Open Wright4i opened 9 months ago

Wright4i commented 9 months ago

Link to demo site: https://wright4i.github.io/docs/

Uses GitHub API to grab details of a public repo (vscode-ibmi)

Home Page

image

Release Notes

image

Packages added to project

Server side only, no performance impact

dotenv

Reason - Best practices. Needed .env files for API_GITHUB_TOKEN. Created .env.example for local development.

marked

Reason - Release notes from API was in markdown. marked converted to HTML so I could set the innerHTML of the astro component.

Tasks to Build on Merge

worksofliam commented 9 months ago

@Wright4i Interesting. Why is the token required? Can you not access the public API for released without a token?

Wright4i commented 9 months ago

@Wright4i Interesting. Why is the token required? Can you not access the public API for released without a token?

@worksofliam You'd think, but I tried and it didn't work. Guessing so they can track you for rate-limiting/abuse purposes.

chrjorgensen commented 1 month ago

@Wright4i @worksofliam Shouldn't we try and complete this? Would be great to have in the docs... 😍

Wright4i commented 1 month ago

@chrjorgensen you're right! I completely forgot this was out here open.

@worksofliam any issues with the API key usage? If not I can address the conflicts and we can get this merged in.

worksofliam commented 1 month ago

@Wright4i No problem with token usage! This would be cool to have.