Skip to content

Latest commit

 

History

History
86 lines (61 loc) · 4.73 KB

README.md

File metadata and controls

86 lines (61 loc) · 4.73 KB

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.

Table of Contents

Examples Status

  • git-triggered
  • golang-lib
  • hooks
  • java
  • job
  • manual-trigger
  • nodejs
  • php
  • pipeline-vars
  • rails
  • serial-job
  • task-passing-artifact
  • time-triggered

Building the Docs Locally

Prerequisites

Compiling the Docs

You can compile the Concourse docs by running:

./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, i.e. the root of this repo.

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.

Docs Styling

You can find all of the styling assets for the Concourse website and documentation under the css/ folder.

If you are planning to make changes to the site, css/booklit.css is usually a good place to start.

Content Layout

All of the website content can be found under the lit/ folder of this repository.

The content layout for the site is qute simple, and for the most part self-explanatory. If you want to change a specific page on the website you can usually jump straight to it by looking for the .lit version of the page. For example you can make changes to https://concourse-ci.org/fly.html by editing lit/fly.lit.

  • html/docs-header.tmpl L1 navigation header for the Concourse website and docs.
  • lit/index.html The Concourse Homepage
  • lit/reference/ This is where you'll find most of the documentation listed under https://concourse-ci.org/reference.html
  • lit/release-notes/ Release notes separated by Concourse version. These .lit snippets are ultimately loaded into lit/download.lit
  • lit/download.lit/ Concourse Downloads page
  • lit/docs/resource-types/community-resources.lit A listing of Concourse community-supported resources

Updating the Blog Theme

$ make blog/concourse.zip
# and then upload it in the Ghost admin UI