These are the contributing guidelines for the website of mark.js. If you are interested in contributing to mark.js itself, please head over to the mark.js contributing guidelines.
For each issue please provide:
- What kind of browser and version you are using
- A detailed description
- The exact steps to reproduce (bugs and problems)
Please provide the following information:
- The use case, why your enhancement is necessary
- How to solve it in your opinion
Requirements: node.js (including npm), Bower and Compass installed.
Before you start developing, you should clone or download this repository and run:
$ bower install
$ npm install
The build to generate HTML files from the docs (written in Markdown) can be started using:
$ node generate-html.js
To compile, compress and optimize the website, wabp is used as a boilerplate. For development you can use:
$ grunt dev
Please see the grunt tasks and project structure there.
Docs are located in ./src/docs/
, handlebars templates in ./src/templates/
.
The website is not hosted with GitHub pages. The reasons can be found here. Instead, the website will be deployed to a own server using Travis CI. If your pull request is merged successfully the changes will be automatically online.
Pull requests are very much appreciated! 👍
Please note the following things when doing a pull request:
- Do not change any version
- Reference related issues in the pull request description
- Describe your changes and why they are necessary (if not stated in referenced issues)
- Make sure that you format code to fit the code style
If you contribute to this project, you are implicitly allowing your code to be distributed under this license. You are also implicitly verifying that all code is your original work.