This repository contains the site code for the 18F Cloud Foundry documentation.
Hugo uses markdown to build the pages. Just add your page to the section you want inside the content folder.
- This project uses Hugo to build the site. Once Hugo is installed, run
hugo
to build the site. - Run
npm install
to download all the dependencies. - Run
npm run start
and browse to http://localhost:1313.
This site uses a shared cloud.gov style, cg-style. This means any styling code has to be developed in cg-style.
- Download or clone the cg-style repository,
git clone [email protected]:18F/cg-style.git
- Run the watching build task in the cg-style repository:
npm run watch
- Run
npm install
in the cg-docs repository. - Run
npm link
in cg-docs. - Run the watching build task in cg-docs repository:
npm run watch
- Edit code in the cg-style directory and they will propagate down to cg-docs
The theme for the site has been "forked" from the Hugo documentation.