This is the source of haxepunk.com. It is hosted on GitHub Pages using jekyll. You can compile and test this website on your computer with a local install of jekyll, pull requests are welcome.
-
Clone, build and run the server
git clone https://github.com/HaxePunk/haxepunk.com.git cd haxepunk.com make make serve
-
Start hacking on the site. The
--watch
parameter will live reload the site every time a file is changed and saved.
The demos and API documentation are generated automatically using the installed version of HaxePunk with make demos
and make docs
.
Demos are stored in HaxePunk-examples. Each demo should have a data.md file and a thumb.jpg thumbnail which will be used to generate the Demos page.
If you want to contribute and improve our website please work on a fork. Only working and tested changes will be merged. Use the issue system for developer support and approval on your changes.
Once you've made something in HaxePunk you can submit it to be showcased on the website.
-
Create a
.md
file inside thegames
folder following this example:--- layout: game title: My Game Title play_url: http://mygamesite.com/play/ author: My Name --- This is a description of my **really** great game! You can use Markdown to format the description.
-
Add a 220x124 jpeg screenshot using the same filename of your
.md
file to theimg/games
folder with the.jpg
extension.