Skip to content

Contributing to documentation

alexanderdean edited this page Apr 22, 2013 · 6 revisions

HOME > PROJECT & COMMUNITY > CONTRIBUTING > Documentation

We welcome contributors to the Snowplow documentation with open arms - just as we welcome contributors to the Snowplow codebase!

We have two main stores of documentation currently:

## 1. Contributing to the wiki

To make edits to the wiki, fork the repo (git://github.com/snowplow/snowplow.wiki.git), make edits and then submit a pull request. The wiki is powered by Gollum gollum: to date the best documentation we've found on using Gollum (particularly embedding code, generating sidebars etc.) is from the Gollum Readme.

All the wiki documentation is stored in Markdown format. Good tools for editing markdown include [Markdownpad] (http://markdownpad.com/) on Windows, or [Mou] (http://mouapp.com/) for Mac. We also like [Sublime Text] (http://www.sublimetext.com/).

Going forwards we intend to start hosting the wiki ourselves: this will give us the opportunity to give contributors permission to edit the wiki directly.

## 2. Contributing to the website

The Snowplow website is hosted also hosted on Github (via Github Pages). The repo is on https://github.com/snowplow/snowplow.github.com. As with the wiki, you can contribute by forking the repo, making edits and then submitting a pull request.

Please note that the setup on the website is a bit complicated, because it uses a number of Jekyll features that are not supported by Github pages. As a result:

  • Jekyll source files (mostly in markdown) are stored in the source branch of the directory
  • These are compiled using Jekyll locally
  • Compiled .html files are then copied to the master branch where they are served directly via Github without Jekyll. (Because they've already been compiled locally.)

Full instructions on how to work with this setup, including all the software you need to have available locally, can be found on the repo README.

Clone this wiki locally