docs/

directory
v3.5.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2017 License: Apache-2.0

README

Concourse Docs

This is where you will find the source for the Concourse website and overall documentation. All of our docs are written using the Booklit documentation engine. You can read more about its formal specification here, and you can read through its source code here.

Building the Docs Locally

Prerequisites

Install the Packages

Install booklit:

go get github.com/vito/booklit/cmd/booklit

Install semver

go get github.com/blang/semver

Install pygments

sudo pip install pygments

or, if you have virtualenv and virtualenvwrapper installed

mkvirtualenv concourse-docs
workon concourse-docs
pip install pygments

Compiling the Docs

From project root, we're going to move into the docs folder:

cd docs

and from here we'll use the build script to compile our .lit files:

# If you installed pygments under a virtualenv, make sure to switch 
# into it now before you execute the script

./scripts/build

The build script will instruct booklit to compile all the files under lit/ as html files. The files will then be dumped into your current working directory, in this case its docs/

Viewing the docs in your browser

To run a server that will rebuild the docs as needed, pass -s (port) like so:

./scripts/build -s 8000

You will be now be able to see the rendered site if you navigate to http://localhost:8000

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL