Skip to content

Commit 966c357

Browse files
committed
mdn: remove obsolete options[:mdn_tag]
1 parent 4dc9557 commit 966c357

File tree

8 files changed

+0
-16
lines changed

8 files changed

+0
-16
lines changed

lib/docs/scrapers/http.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ class Http < Mdn
77

88
html_filters.push 'http/clean_html', 'http/entries', 'title'
99

10-
options[:mdn_tag] = 'HTTP'
11-
1210
options[:root_title] = 'HTTP'
1311
options[:title] = ->(filter) { filter.current_url.host == 'tools.ietf.org' ? false : filter.default_title }
1412
options[:container] = ->(filter) { filter.current_url.host == 'tools.ietf.org' ? '.content' : nil }

lib/docs/scrapers/mdn/css.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ class Css < Mdn
66

77
html_filters.push 'css/clean_html', 'css/entries', 'title'
88

9-
options[:mdn_tag] = 'CSS'
10-
119
options[:root_title] = 'CSS'
1210

1311
options[:skip] = %w(/CSS3 /Media/Visual /paged_media /Media/TV /Media/Tactile)

lib/docs/scrapers/mdn/dom.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class Dom < Mdn
88

99
html_filters.push 'dom/clean_html', 'dom/entries', 'title'
1010

11-
options[:mdn_tag] = 'XSLT_Reference'
12-
1311
options[:root_title] = 'DOM'
1412

1513
options[:skip] = %w(

lib/docs/scrapers/mdn/dom_events.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ class DomEvents < Mdn
99
html_filters.insert_after 'clean_html', 'dom_events/clean_html'
1010
html_filters.push 'dom_events/entries', 'title'
1111

12-
options[:mdn_tag] = 'events'
13-
1412
options[:root_title] = 'DOM Events'
1513

1614
options[:skip] = %w(/MozOrientation)

lib/docs/scrapers/mdn/html.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ class Html < Mdn
77

88
html_filters.push 'html/clean_html', 'html/entries', 'title'
99

10-
options[:mdn_tag] = 'HTML'
11-
1210
options[:root_title] = 'HTML'
1311

1412
options[:title] = ->(filter) do

lib/docs/scrapers/mdn/javascript.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class Javascript < Mdn
88

99
html_filters.push 'javascript/clean_html', 'javascript/entries', 'title'
1010

11-
options[:mdn_tag] = 'JavaScript'
12-
1311
options[:root_title] = 'JavaScript'
1412

1513
# Don't want

lib/docs/scrapers/mdn/svg.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class Svg < Mdn
88

99
html_filters.push 'svg/clean_html', 'svg/entries', 'title'
1010

11-
options[:mdn_tag] = 'XSLT_Reference'
12-
1311
options[:root_title] = 'SVG'
1412

1513
options[:title] = ->(filter) do

lib/docs/scrapers/mdn/xslt_xpath.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ class XsltXpath < Mdn
88

99
html_filters.push 'xslt_xpath/clean_html', 'xslt_xpath/entries', 'title'
1010

11-
options[:mdn_tag] = 'XSLT_Reference'
12-
1311
options[:root_title] = 'XSLT'
1412

1513
options[:only_patterns] = [/\A\/XSLT/, /\A\/XPath/]

0 commit comments

Comments
 (0)