Github Pages with README Sync
github pages jekyll ruby
This website is designed to showcase interesting projects I'm working on which are hosted on Github.
The content of many posts on this site are synced from the README.md for the project repositories.
A custom Ruby script which does the following
- Read the Jekyll site
_config.ymlto get my github username
- Use the github API to list my public repositories
- Sync the README.md from each repository to
github/_posts directory indicates a Jekyll category of 'github' containing posts
Each public repository will be checked for a README.md The README.md must start with YAML frontmatter like the following
--- title: "Order VS Chaos AI" tags: c++ ai date: 2016-05-01 ---
The sync adds to the YAML frontmatter to set a reponame attribute for linking and a page layout of "repo". My repo layout is available here: repo.html