Commit e2599b3b authored by Seth W. Klein's avatar Seth W. Klein

Add README.md to make the generated repository point here.

Fixes prometheus/prometheus.github.io#2.
parent 8ddb1680
......@@ -21,10 +21,16 @@ route '/assets/*' do
item.identifier[0..-2]
end
route '/README/' do
'/README.md'
end
compile '*' do
filter :erb
if item[:extension] == 'md'
if item[:title] == 'README.md'
# don't filter; this is for the GitHub repository
elsif item[:extension] == 'md'
#filter :kramdown
filter :redcarpet, options: {filter_html: true, autolink: true, no_intraemphasis: true, fenced_code_blocks: true, gh_blockcode: true, tables: true}, renderer_options: {with_toc_data: true}
filter :add_anchors
......
---
title: "README.md"
---
This repository is automatically generated from
https://github.com/prometheus/docs.
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