Ignore non-existing paths

A bug in crystals doc generation causes the docs to contain links to
non-documented and therefore non-existing types.
pull/2298/head
Jon Börjesson 6 months ago
parent 500f45b1f7
commit a836758a3c

@ -19,6 +19,12 @@ module Docs
html_filters.push 'crystal/entries', 'crystal/clean_html'
options[:skip_patterns] = [
%r{\ACrystal/System/},
%r{\AIO/Evented.html\z},
%r{\ARegex/PCRE2.html\z}
]
options[:attribution] = ->(filter) {
if filter.current_url.path.start_with?('/reference/')
<<-HTML

Loading…
Cancel
Save