mirror of
https://github.com/prometheus/docs.git
synced 2026-02-06 18:44:55 +01:00
40e71d07f803fa5a294efe59d68cd3cb8653a7de
and instead make a new "page" layout for markdown-based pages. This avoids changing the HTML based pages which are using the "default" layout currently.
Prometheus Documentation
This repository contains both the content and the static-site generator code for the Prometheus documentation site.
Prerequisites
You need to have a working Ruby environment set up and then install the necessary gems:
cd docs
bundle
Building
To generate the static site, run:
make build
The resulting static site will be stored in the output directory.
Development Server
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
You should now be able to view the generated site at http://localhost:3000/.
License
Apache License 2.0, see LICENSE.
Description
Languages
SCSS
31.2%
Less
30.8%
HTML
15.8%
Ruby
12.5%
CSS
4.9%
Other
4.8%