See our contributing guidelines and our code of conduct
Clone the repository, install needed gems and run Jekyll ;)
git clone git@github.com:codeship/documentation.git
cd documentation
bundle install
bundle exec jekyll serveYou can then access the site at http://localhost:4000
SCSS files are automatically linted using scss-lint. To run it execute the following command
bundle exec scss-lintIt's configured in .scss-lint.yml and the default configuration is available online as well.
If you want to include a table of contents, include the following snippet in the markdown file
* include a table of contents
{:toc}Generate a URL for the specified tag (database in the example below). This is also available as a filter to be used with a variable (tag in the example).
{% tag_url databases %}
{{ tag | tag_url }}
generate the output like the following (depending on configuration values)
/tags/databases/
Link to a specific Ubuntu man page. This currently defaults to the Ubuntu Trusty version.
{% man_url formatdb %}
generates the following output
http://manpages.ubuntu.com/manpages/trusty/en/man1/formatdb.1.html