Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit e0850a3

Browse files
committed
Merge pull request rspec#55 from antn/middleman-underscores
add underscored docs to whitelist, really fixes rspec#49
2 parents b50eaeb + 8a7a5b1 commit e0850a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
activate :directory_indexes
4242

4343
page "documentation/**/*.html", directory_index: false
44+
config[:ignored_sitemap_matchers][:partials] = proc { |file| file =~ %r{/_[^_]} && file !~ %r{\A/source/documentation/_.+\.html\z} }
4445

4546
set :css_dir, 'stylesheets'
4647
set :js_dir, 'javascripts'

0 commit comments

Comments
 (0)