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

Commit a30b520

Browse files
committed
add underscored docs to whitelist, really fixes rspec#49
1 parent b50eaeb commit a30b520

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{/source/documentation/_.+\.html} }
4445

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

0 commit comments

Comments
 (0)