-
Notifications
You must be signed in to change notification settings - Fork 25
Docs | Manual Docs
dc edited this page Oct 16, 2015
·
1 revision
These are the instructions for adding or contributing to manual doc sets in Wat.
Fork the project on GitHub.
$ git clone git@github.com:username/wat.git
$ cd wat
$ git remote add upstream git://github.com/dthree/wat.git
Add your content! Ensure you follow the editing guidelines.
Wat uses an index file that keeps data on all of its documents. When you have finished editing and are ready to push your changes, you'll need to rebuild the index.
$ npm install -g gulp
$ gulp index
This action will also "lint" all of the document content and ensure it meets standards. Correct anything it notes and run gulp
again until it passes.
Make sure git knows your name and email address:
$ git config --global user.name "Jhonny Octocat"
$ git config --global user.email "joctocat@gmail.com"
$ git add .
$ git commit -m "added mocha docs"
git push
Go to your fork on Github. Click the 'Pull Request' button and fill out the form.
Made your project more accessible by contributing to Wat?
Show it off by copying the badge below into your README.md.
[![Wat: Documented](https://img.shields.io/badge/wat-documented-blue.svg)](https://github.com/dthree/wat)