Commit b9550585 authored by juliusv's avatar juliusv

Add bash syntax highlighting to README.md.

parent 426fab7c
...@@ -8,14 +8,18 @@ Prometheus documentation site. ...@@ -8,14 +8,18 @@ Prometheus documentation site.
You need to have a working Ruby environment set up and then install the You need to have a working Ruby environment set up and then install the
necessary gems: necessary gems:
cd docs ```bash
bundle cd docs
bundle
```
## Building ## Building
To generate the static site, run: To generate the static site, run:
bundle exec nanoc ```bash
bundle exec nanoc
```
The resulting static site will be stored in the `output` directory. The resulting static site will be stored in the `output` directory.
...@@ -23,10 +27,12 @@ The resulting static site will be stored in the `output` directory. ...@@ -23,10 +27,12 @@ The resulting static site will be stored in the `output` directory.
To run a local server that displays the generated site, run: To run a local server that displays the generated site, run:
# Rebuild the site whenever relevant files change: ```bash
bundle exec guard # Rebuild the site whenever relevant files change:
# Start the local development server: bundle exec guard
bundle exec nanoc view # Start the local development server:
bundle exec nanoc view
```
You should now be able to view the generated site at You should now be able to view the generated site at
[http://localhost:3000/](http://localhost:3000). [http://localhost:3000/](http://localhost:3000).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment