Rename and update Web APIs documentation

Fixes #1577.
pull/1673/head
Simon Legner 3 years ago
parent 937bf3b76f
commit 6ad0784fbe

@ -1,4 +1,8 @@
[
[
"2021-12-07",
"Renamed documentation: <a href=\"/dom/\">Web APIs</a>"
],
[
"2021-12-05",
"New documentation: <a href=\"/esbuild/\">esbuild</a>"

@ -44,7 +44,7 @@ module Docs
end
def self.defaults
%w(css dom html http javascript).map(&method(:find))
%w(css 'Web APIs' html http javascript).map(&method(:find))
end
def self.installed

@ -1,13 +1,14 @@
module Docs
class Dom < Mdn
# release = '2021-10-22'
self.name = 'DOM'
# release = '2021-12-07'
self.name = 'Web APIs'
self.slug = 'dom'
self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/API'
html_filters.push 'dom/clean_html', 'dom/entries'
options[:root_title] = 'DOM'
options[:root_title] = 'Web APIs'
end
end

Loading…
Cancel
Save