Skip to content
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

Show release information? #33

Open
colinodell opened this issue May 6, 2015 · 5 comments
Open

Show release information? #33

colinodell opened this issue May 6, 2015 · 5 comments

Comments

@colinodell
Copy link
Member

GitHub now exposes release information via the site.github.releases Jekyll namespace. Is this something we might want to display on our sites?

https://github.com/blog/1996-releases-metadata-for-github-pages

@reinink
Copy link
Contributor

reinink commented May 6, 2015

This is awesome! This will be really handy on our changelog pages. Right now every time a change is made we have to enter it on GitHub (under the release), and then update documentation site. Naturally, these are sometimes not in sync.

I'll get Glide and Plates wired up at some point, and then show others how to update their sites.

@reinink
Copy link
Contributor

reinink commented Jun 27, 2015

Gave this a try, and it works great! See http://glide.thephpleague.com/0.3/changelog/

@philsturgeon
Copy link
Member

Awesome work!

Can the headers be linked to the GitHub release page, and can PR/issue hashes be linked to stuff?

@reinink
Copy link
Contributor

reinink commented Jun 29, 2015

Can the headers be linked to the GitHub release page

Yes, good call.

and can PR/issue hashes be linked to stuff?

Still working on that one. ;)

@reinink
Copy link
Contributor

reinink commented Jun 29, 2015

Updated code for this:

{% for release in site.github.releases %}
## [{{ release.name }}]({{ release.html_url }}) - {{ release.published_at | date: "%Y-%m-%d" }}
{{ release.body | markdownify }}
{% endfor %}

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

No branches or pull requests

3 participants