Browse Source

Update Bazel documentation (8.0.0)

Simon Legner 11 months ago
parent
commit
62d30c70f9
2 changed files with 7 additions and 0 deletions
  1. 2 0
      lib/docs/filters/bazel/clean_html.rb
  2. 5 0
      lib/docs/scrapers/bazel.rb

+ 2 - 0
lib/docs/filters/bazel/clean_html.rb

@@ -7,8 +7,10 @@ module Docs
         css('devsite-feature-tooltip').remove
         css('devsite-feature-tooltip').remove
         css('devsite-thumb-rating').remove
         css('devsite-thumb-rating').remove
         css('devsite-toc').remove
         css('devsite-toc').remove
+        css('devsite-feedback').remove
         css('a.button-with-icon').remove
         css('a.button-with-icon').remove
         css('button.devsite-heading-link').remove
         css('button.devsite-heading-link').remove
+        css('.devsite-article-body > span:first-child[style="float: right; line-height: 36px"]').remove
         doc
         doc
       end
       end
 
 

+ 5 - 0
lib/docs/scrapers/bazel.rb

@@ -12,6 +12,11 @@ module Docs
     Licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.
     Licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.
     HTML
     HTML
 
 
+    version '8.0' do
+      self.release = '8.0.0'
+      self.base_url = 'https://bazel.build/versions/8.0.0/reference/be/'
+    end
+
     version '7.0' do
     version '7.0' do
       self.release = '7.0.0'
       self.release = '7.0.0'
       self.base_url = 'https://bazel.build/versions/7.0.0/reference/be/'
       self.base_url = 'https://bazel.build/versions/7.0.0/reference/be/'