gree2 / docs

Prometheus documentation: content and static site generator

Home Page:https://prometheus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prometheus Documentation

This repository contains both the content and the static-site generator code for the Prometheus documentation site.

Contributing Changes

See CONTRIBUTING.md for general instructions for new Prometheus contributors.

The main documentation contents of this website are located in the content/docs directory.

Documentation concerning the Prometheus server is maintained in the Prometheus server repository and cloned into the website at build time.

As a guideline, please keep the documentation generally applicable and avoid use-case-specific changes.

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.

About

Prometheus documentation: content and static site generator

https://prometheus.io

License:Apache License 2.0


Languages

Language:CSS 73.5%Language:HTML 11.3%Language:Ruby 10.1%Language:JavaScript 4.2%Language:Makefile 0.5%Language:Shell 0.4%