Feature/Release Notes - Added to Home Page under What's New #26
+157
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Link to demo site: https://wright4i.github.io/docs/
Uses GitHub API to grab details of a public repo (vscode-ibmi)
Home Page
Release Notes
githubAPI.ts
'sfetchFromGithub()
has a defaultlimit: number = 5
so we can adjust to taste.Packages added to project
Server side only, no performance impact
dotenv
Reason - Best practices. Needed
.env
files forAPI_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
public_repo
scopeAPI_GITHUB_TOKEN
.github/workflows/astro.yml
was updated to importAPI_GITHUB_TOKEN
vscode-ibmi
to trigger build ondocs
soRelease Notes
are always current