Fixes #1577.
Unified · Split
| @@ -1,4 +1,8 @@ | ||
| 1 | 1 | [ |
| 2 | + [ | |
| 3 | + "2021-12-07", | |
| 4 | + "Renamed documentation: <a href=\"/dom/\">Web APIs</a>" | |
| 5 | + ], | |
| 2 | 6 | [ |
| 3 | 7 | "2021-12-05", |
| 4 | 8 | "New documentation: <a href=\"/esbuild/\">esbuild</a>" |
| @@ -44,7 +44,7 @@ module Docs · 43 unmodified lines | ||
| 44 | 44 | end |
| 45 | 45 | |
| 46 | 46 | def self.defaults |
| 47 | − %w(css dom html http javascript).map(&method(:find)) | |
| 47 | + %w(css 'Web APIs' html http javascript).map(&method(:find)) | |
| 48 | 48 | end |
| 49 | 49 | |
| 50 | 50 | def self.installed |
| @@ -1,13 +1,14 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Dom < Mdn |
| 3 | 3 | |
| 4 | − # release = '2021-10-22' | |
| 5 | − self.name = 'DOM' | |
| 4 | + # release = '2021-12-07' | |
| 5 | + self.name = 'Web APIs' | |
| 6 | + self.slug = 'dom' | |
| 6 | 7 | self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/API' |
| 7 | 8 | |
| 8 | 9 | html_filters.push 'dom/clean_html', 'dom/entries' |
| 9 | 10 | |
| 10 | − options[:root_title] = 'DOM' | |
| 11 | + options[:root_title] = 'Web APIs' | |
| 11 | 12 | |
| 12 | 13 | end |
| 13 | 14 | end |