diff --git a/config.rb b/config.rb index 652c6f4d1..0460299ca 100644 --- a/config.rb +++ b/config.rb @@ -41,6 +41,7 @@ activate :directory_indexes page "documentation/**/*.html", directory_index: false +config[:ignored_sitemap_matchers][:partials] = proc { |file| file =~ %r{/_[^_]} && file !~ %r{\A/source/documentation/_.+\.html\z} } set :css_dir, 'stylesheets' set :js_dir, 'javascripts'