diff --git a/lib/docs/filters/mdn/compat_tables.rb b/lib/docs/filters/mdn/compat_tables.rb
index ceaa8987..4982d548 100644
--- a/lib/docs/filters/mdn/compat_tables.rb
+++ b/lib/docs/filters/mdn/compat_tables.rb
@@ -24,11 +24,13 @@ module Docs
end
BROWSERS = {
+ # Desktop
'chrome' => 'Chrome',
'edge' => 'Edge',
'firefox' => 'Firefox',
'opera' => 'Opera',
'safari' => 'Safari',
+ # Mobile
'chrome_android' => 'Chrome Android',
'firefox_android' => 'Firefox for Android',
'opera_android' => 'Opera Android',
@@ -43,7 +45,11 @@ module Docs
def browsers
if is_javascript
- {}.merge(BROWSERS).merge({'deno' => 'Deno', 'nodejs' => 'Node.js'})
+ {}.merge(BROWSERS).merge({
+ # Server
+ 'deno' => 'Deno',
+ 'nodejs' => 'Node.js',
+ })
else
BROWSERS
end
@@ -51,9 +57,9 @@ module Docs
def browser_types
if is_javascript
- {'Desktop'=>6, 'Mobile'=>6, 'Server'=>2,}
+ {'Desktop'=>5, 'Mobile'=>6, 'Server'=>2,}
else
- {'Desktop'=>6, 'Mobile'=>6,}
+ {'Desktop'=>5, 'Mobile'=>6,}
end
end
diff --git a/lib/docs/scrapers/mdn/mdn.rb b/lib/docs/scrapers/mdn/mdn.rb
index 7ca01b05..ebc482e7 100644
--- a/lib/docs/scrapers/mdn/mdn.rb
+++ b/lib/docs/scrapers/mdn/mdn.rb
@@ -18,7 +18,7 @@ module Docs
}
options[:attribution] = <<-HTML
- © 2005–2023 MDN contributors.
+ © 2005–2024 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
HTML