From 62d30c70f91b3bda334c993ca145434cbb8b2f76 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sat, 11 Jan 2025 13:03:09 +0100 Subject: [PATCH] Update Bazel documentation (8.0.0) --- lib/docs/filters/bazel/clean_html.rb | 2 ++ lib/docs/scrapers/bazel.rb | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/lib/docs/filters/bazel/clean_html.rb b/lib/docs/filters/bazel/clean_html.rb index d772908e..ca827b36 100644 --- a/lib/docs/filters/bazel/clean_html.rb +++ b/lib/docs/filters/bazel/clean_html.rb @@ -7,8 +7,10 @@ module Docs css('devsite-feature-tooltip').remove css('devsite-thumb-rating').remove css('devsite-toc').remove + css('devsite-feedback').remove css('a.button-with-icon').remove css('button.devsite-heading-link').remove + css('.devsite-article-body > span:first-child[style="float: right; line-height: 36px"]').remove doc end diff --git a/lib/docs/scrapers/bazel.rb b/lib/docs/scrapers/bazel.rb index 3f2f9447..fe37137a 100644 --- a/lib/docs/scrapers/bazel.rb +++ b/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. 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 self.release = '7.0.0' self.base_url = 'https://bazel.build/versions/7.0.0/reference/be/'