tree: 1c20f298b49873269a0f66ab67ad94d3fdc0e261 [path history] [tgz]
  1. archetypes/
  2. content/
  3. data/
  4. layouts/
  5. src/
  6. config.yaml
  7. gulpfile.js
  8. javadocs.sh
  9. linkchecker.sh
  10. Makefile
  11. package.json
  12. README.md
website/README.md

Heron Documentation

Heron's documentation was primarily built using the following components:

Documentation Setup

Running the Heron documentation locally requires that you have the following installed:

OS X Setup

To install Node.js and npm on Mac OS X, make sure that you have Homebrew installed and run:

$ brew install nvm
$ nvm install node

Once this has completed:

# Within the /heron directory
$ cd website
$ make setup

This will install Hugo, Gulp, and all of the necessary Gulp plugins and build the static assets for the site.

Other Operating Systems

Although the documentation is currently set up to be built and run on OS X, it's also possible to do so on other systems. In addition to Node.js and npm you will also need to install Hugo. Once those are installed:

  1. Navigate to the website folder
  2. Run npm install gulp
  3. Run gulp build (this will build all of the necessary static assets, i.e. CSS, Javascript, etc.)

Now you can run the docs locally. For more info, see the section directly below.

Building the Docs Locally

To build the docs:

$ make site

This will generate a full build of the docs in the public folder. To serve the docs locally, see the section directly below.

Running the Docs Locally

$ make serve

This will run the docs locally on localhost port 1313. Navigate to localhost:1313/heron in your browser to see the served docs. Or open the browser from the command line:

$ open http://localhost:1313/heron

To make site, including linkchecker. If broken links found by linkchecker, see linkchecker-errors.csv

$ make site