diff --git a/lib/docs/filters/mdn/clean_html.rb b/lib/docs/filters/mdn/clean_html.rb index 91250a43..2c6aded9 100644 --- a/lib/docs/filters/mdn/clean_html.rb +++ b/lib/docs/filters/mdn/clean_html.rb @@ -72,6 +72,8 @@ module Docs node.remove_attribute('class') end + css('.example-header').remove + css('table').each do |node| node.before %(
) node.previous_element << node diff --git a/lib/docs/scrapers/mdn/css.rb b/lib/docs/scrapers/mdn/css.rb index ca378f2f..42ace850 100644 --- a/lib/docs/scrapers/mdn/css.rb +++ b/lib/docs/scrapers/mdn/css.rb @@ -1,6 +1,6 @@ module Docs class Css < Mdn - # release = '2024-08-20' + # release = '2024-11-17' self.name = 'CSS' self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/CSS' self.root_path = '/Reference' diff --git a/public/icons/docs/css/16.png b/public/icons/docs/css/16.png index 538ddb0f..bfed62bd 100644 Binary files a/public/icons/docs/css/16.png and b/public/icons/docs/css/16.png differ diff --git a/public/icons/docs/css/16@2x.png b/public/icons/docs/css/16@2x.png index f06ea2d4..649420bc 100644 Binary files a/public/icons/docs/css/16@2x.png and b/public/icons/docs/css/16@2x.png differ diff --git a/public/icons/docs/css/CSS3.sketch/Data b/public/icons/docs/css/CSS3.sketch/Data deleted file mode 100644 index ca0a9d40..00000000 Binary files a/public/icons/docs/css/CSS3.sketch/Data and /dev/null differ diff --git a/public/icons/docs/css/CSS3.sketch/QuickLook/Preview.png b/public/icons/docs/css/CSS3.sketch/QuickLook/Preview.png deleted file mode 100644 index a5b48eef..00000000 Binary files a/public/icons/docs/css/CSS3.sketch/QuickLook/Preview.png and /dev/null differ diff --git a/public/icons/docs/css/CSS3.sketch/QuickLook/Thumbnail.png b/public/icons/docs/css/CSS3.sketch/QuickLook/Thumbnail.png deleted file mode 100644 index 262ae528..00000000 Binary files a/public/icons/docs/css/CSS3.sketch/QuickLook/Thumbnail.png and /dev/null differ diff --git a/public/icons/docs/css/CSS3.sketch/fonts b/public/icons/docs/css/CSS3.sketch/fonts deleted file mode 100644 index e69de29b..00000000 diff --git a/public/icons/docs/css/CSS3.sketch/version b/public/icons/docs/css/CSS3.sketch/version deleted file mode 100644 index 9a037142..00000000 --- a/public/icons/docs/css/CSS3.sketch/version +++ /dev/null @@ -1 +0,0 @@ -10 \ No newline at end of file diff --git a/public/icons/docs/css/SOURCE b/public/icons/docs/css/SOURCE new file mode 100644 index 00000000..3f8a14e0 --- /dev/null +++ b/public/icons/docs/css/SOURCE @@ -0,0 +1,2 @@ +https://github.com/CSS-Next/logo.css +https://commons.wikimedia.org/wiki/File:Official_CSS_Logo.svg