Remove the index pages for refs

pull/876/head
Boris Bera 6 years ago
parent 55023390c1
commit 63b3ef9a41

@ -16,8 +16,11 @@ module Docs
end
def get_type
type, _ = slug.split('/', 2)
type
slug.split('/', 2).first
end
def include_default_entry?
slug.split('/').last.start_with? 'salt'
end
end
end

@ -11,7 +11,7 @@ module Docs
html_filters.push 'salt_stack/clean_html', 'salt_stack/entries'
options[:only_patterns] = [
%r{[^/]+/all/}
%r{^[^/]+/all/}
]
options[:container] = '.body-content'

Loading…
Cancel
Save