mdn: remove obsolete options[:mdn_tag]

pull/1473/head
Simon Legner 4 years ago
parent 4dc9557032
commit 966c357675

@ -7,8 +7,6 @@ module Docs
html_filters.push 'http/clean_html', 'http/entries', 'title'
options[:mdn_tag] = 'HTTP'
options[:root_title] = 'HTTP'
options[:title] = ->(filter) { filter.current_url.host == 'tools.ietf.org' ? false : filter.default_title }
options[:container] = ->(filter) { filter.current_url.host == 'tools.ietf.org' ? '.content' : nil }

@ -6,8 +6,6 @@ module Docs
html_filters.push 'css/clean_html', 'css/entries', 'title'
options[:mdn_tag] = 'CSS'
options[:root_title] = 'CSS'
options[:skip] = %w(/CSS3 /Media/Visual /paged_media /Media/TV /Media/Tactile)

@ -8,8 +8,6 @@ module Docs
html_filters.push 'dom/clean_html', 'dom/entries', 'title'
options[:mdn_tag] = 'XSLT_Reference'
options[:root_title] = 'DOM'
options[:skip] = %w(

@ -9,8 +9,6 @@ module Docs
html_filters.insert_after 'clean_html', 'dom_events/clean_html'
html_filters.push 'dom_events/entries', 'title'
options[:mdn_tag] = 'events'
options[:root_title] = 'DOM Events'
options[:skip] = %w(/MozOrientation)

@ -7,8 +7,6 @@ module Docs
html_filters.push 'html/clean_html', 'html/entries', 'title'
options[:mdn_tag] = 'HTML'
options[:root_title] = 'HTML'
options[:title] = ->(filter) do

@ -8,8 +8,6 @@ module Docs
html_filters.push 'javascript/clean_html', 'javascript/entries', 'title'
options[:mdn_tag] = 'JavaScript'
options[:root_title] = 'JavaScript'
# Don't want

@ -8,8 +8,6 @@ module Docs
html_filters.push 'svg/clean_html', 'svg/entries', 'title'
options[:mdn_tag] = 'XSLT_Reference'
options[:root_title] = 'SVG'
options[:title] = ->(filter) do

@ -8,8 +8,6 @@ module Docs
html_filters.push 'xslt_xpath/clean_html', 'xslt_xpath/entries', 'title'
options[:mdn_tag] = 'XSLT_Reference'
options[:root_title] = 'XSLT'
options[:only_patterns] = [/\A\/XSLT/, /\A\/XPath/]

Loading…
Cancel
Save