-
-
Notifications
You must be signed in to change notification settings - Fork 89
Implement Release Notes page #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Here's a video of the new Release Notes page in action: https://screen.studio/share/hzB5lev6 |
SRWieZ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like this feature. No release notes for mobile docs?
Could absolutely implement for mobile too. To do so would require a slight env update to include a GITHUB_TOKEN from @simonhamp so I can make a request to the relevant repo. I don't believe we currently authenticate GH API at all which I why I left it out for now. @simonhamp - Would you like release notes for Mobile too? Happy to implement if you're happy to include a read-only GITHUB_TOKEN env var? :) |
|
We can leave it for mobile for now... I'm sharing publicly via Anystack - so we could link to that, but I wouldn't worry for now. One thing I'd really like here is to reduce the URLs to PRs down to just their number, i.e. |
…opment environments
…rk mode compatibility
…iveness and visual consistency
…roved readability
… for better visibility
…just logo size in navigation bar
This pull request includes several significant changes to the
app/Support/GitHub.phpfile and the addition of a newReleaseclass. These changes enhance the functionality for fetching and handling GitHub release data. Additionally, a new view template for displaying release notes has been added.Enhancements to GitHub support:
app/Support/GitHub.php: Added imports forReleaseandCollectionclasses.app/Support/GitHub.php: ModifiedlatestVersionmethod to use theReleaseclass and added a newreleasesmethod to fetch multiple releases.app/Support/GitHub.php: UpdatedfetchLatestVersionto return an instance ofReleaseand added a newfetchReleasesmethod to handle multiple releases.New
Releaseclass:app/Support/GitHub/Release.php: Introduced a newReleaseclass with properties and methods to handle GitHub release data, including conversion of URLs and user mentions to Markdown links.New view template:
resources/views/docs/desktop/1/getting-started/release-notes.md: Added a new view template to display the latest release notes fetched from GitHub, with fallback content if no release notes are available.