Commit 4565a55e authored by Tobias Schmidt's avatar Tobias Schmidt

Remove old github pages README.md

parent 5d01c36c
...@@ -41,10 +41,6 @@ route '*/images/*' do ...@@ -41,10 +41,6 @@ route '*/images/*' do
item.identifier.chop + '.' + item[:extension] item.identifier.chop + '.' + item[:extension]
end end
route '/README/' do
'/README.md'
end
# RSS Feed # RSS Feed
compile '/blog/feed/' do compile '/blog/feed/' do
filter :erb filter :erb
...@@ -57,9 +53,7 @@ end ...@@ -57,9 +53,7 @@ end
compile '*' do compile '*' do
filter :erb filter :erb
if item[:title] == 'README.md' if item[:extension] == 'md'
# Don't filter; this should propagate verbatim to the output GitHub repository.
elsif item[:extension] == 'md'
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 :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 :normalize_links, item[:repo_docs] if item[:repo_docs] filter :normalize_links, item[:repo_docs] if item[:repo_docs]
filter :outdated_content, item[:repo_docs] if item[:repo_docs] && item[:repo_docs][:outdated] filter :outdated_content, item[:repo_docs] if item[:repo_docs] && item[:repo_docs][:outdated]
...@@ -112,6 +106,4 @@ route '*' do ...@@ -112,6 +106,4 @@ route '*' do
end end
end end
#passthrough '/assets/*'
layout '*', :erb layout '*', :erb
---
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