History

Update Bazel documentation (8.0.0)

Simon Legner committed 1 year ago

Commit 62d30c71 parent 367af742 files · +7 −0Browse files

Unified · Split

2 files
  1. lib/docs/filters/bazel/clean_html.rb +2 −0
  2. lib/docs/scrapers/bazel.rb +5 −0
lib/docs/filters/bazel/clean_html.rb+2−0
@@ -7,8 +7,10 @@ module Docs · 6 unmodified lines
7 css('devsite-feature-tooltip').remove7 css('devsite-feature-tooltip').remove
8 css('devsite-thumb-rating').remove8 css('devsite-thumb-rating').remove
9 css('devsite-toc').remove9 css('devsite-toc').remove
10 css('devsite-feedback').remove
10 css('a.button-with-icon').remove11 css('a.button-with-icon').remove
11 css('button.devsite-heading-link').remove12 css('button.devsite-heading-link').remove
13 css('.devsite-article-body > span:first-child[style="float: right; line-height: 36px"]').remove
12 doc14 doc
13 end15 end
14 16
lib/docs/scrapers/bazel.rb+5−0
@@ -12,6 +12,11 @@ module Docs · 11 unmodified lines
12 Licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.12 Licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.
13 HTML13 HTML
14 14
15 version '8.0' do
16 self.release = '8.0.0'
17 self.base_url = 'https://bazel.build/versions/8.0.0/reference/be/'
18 end
19
15 version '7.0' do20 version '7.0' do
16 self.release = '7.0.0'21 self.release = '7.0.0'
17 self.base_url = 'https://bazel.build/versions/7.0.0/reference/be/'22 self.base_url = 'https://bazel.build/versions/7.0.0/reference/be/'