dung13890 / docs-travis-ci-com

The Travis CI Documentation

Home Page:http://docs.travis-ci.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this repository Build Status

This is the documentation site for Travis CI! (http://docs.travis-ci.com/)

How to contribute

Fork the repository, read the rest of this README file and make some changes. Once you're done with your changes send a pull request. Thanks!

How to edit the site

Make sure you have Ruby and RubyGems installed. Next install bundler:

gem install bundler

Then install dependencies:

bundle install --binstubs

In order to run a local Web server that will serve documentation site, first generate files:

export LANGUAGE_FILE_JSON=https://raw.githubusercontent.com/travis-infrastructure/terraform-config/master/aws-production-2/generated-language-mapping.json
curl -O -sfSL $LANGUAGE_FILE_JSON
erb -r json user/common-build-problems.md.erb | tee user/common-build-problems.md

then run Jekyll server:

./bin/jekyll serve

and then open localhost:4000 in your browser.

To regenerate the HTML pages automatically when you make changes to Markdown source files, use

./bin/jekyll serve --watch

Note that quoted entities may be escaped or unescaped depending on the Ruby version (1.8 vs. 1.9) used. It is normal.

License

Distributed under the MIT license; the same as other Travis CI projects.


About

The Travis CI Documentation

http://docs.travis-ci.com


Languages

Language:HTML 53.0%Language:CSS 33.8%Language:JavaScript 10.9%Language:Ruby 2.2%