Skip to content

Commit

Permalink
Update Bazel documentation (8.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Jan 11, 2025
1 parent 367af74 commit 62d30c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/docs/filters/bazel/clean_html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ def call
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

Expand Down
5 changes: 5 additions & 0 deletions lib/docs/scrapers/bazel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ class Bazel < UrlScraper
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/'
Expand Down

0 comments on commit 62d30c7

Please sign in to comment.