A bug in crystals doc generation causes the docs to contain links to non-documented and therefore non-existing types.
Unified · Split
| @@ -19,6 +19,12 @@ module Docs · 18 unmodified lines | |||
| 19 | 19 | ||
| 20 | html_filters.push 'crystal/entries', 'crystal/clean_html' | 20 | html_filters.push 'crystal/entries', 'crystal/clean_html' |
| 21 | 21 | ||
| 22 | options[:skip_patterns] = [ | ||
| 23 | %r{\ACrystal/System/}, | ||
| 24 | %r{\AIO/Evented.html\z}, | ||
| 25 | %r{\ARegex/PCRE2.html\z} | ||
| 26 | ] | ||
| 27 | |||
| 22 | options[:attribution] = ->(filter) { | 28 | options[:attribution] = ->(filter) { |
| 23 | if filter.current_url.path.start_with?('/reference/') | 29 | if filter.current_url.path.start_with?('/reference/') |
| 24 | <<-HTML | 30 | <<-HTML |