crykn / gdx-showcase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gdx-showcase

This repo is a community effort to try to bring the libGDX site up to date and make it representative of what libGDX is capable of. The deployed page can be found here.

Contributing

If you want to collaborate, you first need to clone this repo.

How do gh-pages work?

This page is a Jekyll blog, hosted via GitHub Pages. All pages and posts need to have a YAML frontmatter, for example this one:

---
permalink: /best_url_path_4_ever/
title: "Super Nice Page Title"
---

After this frontmatter, everything can be written in markdown. Github offers a very concise explanation on how one can add posts and pages: https://docs.github.com/en/github/working-with-github-pages/adding-content-to-your-github-pages-site-using-jekyll

The minimal mistakes theme, that is used here, also supports some nice features (galleries, header images, tables of content), which are detailed here: https://mmistakes.github.io/minimal-mistakes/docs/quick-sb

Deploy locally

To test your changes locally, you can deploy jekyll on your machine:

  1. Install a full Ruby development environment.
  2. Install Jekyll and bundler gems:
gem install jekyll bundler
  1. In your working directory, install the other dependencies of the gemfile:
bundle install
  1. Run Jekyll locally:
$ bundle exec jekyll serve
> Configuration file: /Users/octocat/my-site/_config.yml
>            Source: /Users/octocat/my-site
>       Destination: /Users/octocat/my-site/_site
> Incremental build: disabled. Enable with --incremental
>      Generating...
>                    done in 0.309 seconds.
> Auto-regeneration: enabled for '/Users/octocat/my-site'
> Configuration file: /Users/octocat/my-site/_config.yml
>    Server address: http://127.0.0.1:4000/
>  Server running... press ctrl-c to stop.
  1. Preview your local site at: http://localhost:4000

About


Languages

Language:HTML 84.9%Language:CSS 12.4%Language:Ruby 2.7%