|
|
@@ -5,20 +5,10 @@ module Docs
|
|
|
self.name = 'HTML'
|
|
|
self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/HTML'
|
|
|
|
|
|
- html_filters.push 'html/clean_html', 'html/entries', 'title'
|
|
|
+ html_filters.push 'html/clean_html', 'html/entries'
|
|
|
|
|
|
options[:root_title] = 'HTML'
|
|
|
|
|
|
- options[:title] = ->(filter) do
|
|
|
- if filter.slug == 'Element/Heading_Elements'
|
|
|
- 'Heading Elements'
|
|
|
- elsif filter.slug.start_with?('Element/')
|
|
|
- "<#{filter.default_title}>"
|
|
|
- else
|
|
|
- filter.default_title
|
|
|
- end
|
|
|
- end
|
|
|
-
|
|
|
options[:skip] = %w(
|
|
|
/index
|
|
|
/Element/shadow
|
|
|
@@ -38,5 +28,8 @@ module Docs
|
|
|
url.sub! 'https://developer.mozilla.org/en-US/docs/HTML/', "#{Html.base_url}/" unless url.include?('Content_categories')
|
|
|
url
|
|
|
end
|
|
|
+
|
|
|
+ # self.release = '2021-04-29'
|
|
|
+
|
|
|
end
|
|
|
end
|