Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
b9550585
Commit
b9550585
authored
Dec 19, 2014
by
juliusv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bash syntax highlighting to README.md.
parent
426fab7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
README.md
README.md
+13
-7
No files found.
README.md
View file @
b9550585
...
...
@@ -8,14 +8,18 @@ Prometheus documentation site.
You need to have a working Ruby environment set up and then install the
necessary gems:
cd docs
bundle
```
bash
cd
docs
bundle
```
## Building
To generate the static site, run:
bundle exec nanoc
```
bash
bundle
exec
nanoc
```
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:
# Rebuild the site whenever relevant files change:
bundle exec guard
# Start the local development server:
bundle exec nanoc view
```
bash
# Rebuild the site whenever relevant files change:
bundle
exec
guard
# Start the local development server:
bundle
exec
nanoc view
```
You should now be able to view the generated site at
[
http://localhost:3000/
](
http://localhost:3000
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment