Fixes #1656.
Unified · Split
| @@ -868,7 +868,7 @@ credits = [ · 867 unmodified lines | ||
| 868 | 868 | 'http://tcl.tk/software/tcltk/license.html' |
| 869 | 869 | ], [ |
| 870 | 870 | 'TensorFlow', |
| 871 | − '2020 The TensorFlow Authors', | |
| 871 | + '2022 The TensorFlow Authors', | |
| 872 | 872 | 'CC BY', |
| 873 | 873 | 'https://creativecommons.org/licenses/by/4.0/' |
| 874 | 874 | ], [ |
| @@ -5,6 +5,7 @@ module Docs · 4 unmodified lines | ||
| 5 | 5 | @doc = at_css('.devsite-article') |
| 6 | 6 | |
| 7 | 7 | css('hr', '.devsite-nav', '.devsite-content-footer', '.devsite-article-body > br', '.devsite-article-meta', 'devsite-nav-buttons', '.devsite-banner', '.tfo-api img', '.tfo-notebook-buttons img', '.tfo-notebook-buttons>:first-child').remove |
| 8 | + css('devsite-bookmark').remove | |
| 8 | 9 | |
| 9 | 10 | css('aside.note').each do |node| |
| 10 | 11 | node.name = 'blockquote' |
| @@ -14,11 +14,16 @@ module Docs · 13 unmodified lines | ||
| 14 | 14 | options[:container] = '.devsite-main-content' |
| 15 | 15 | |
| 16 | 16 | options[:attribution] = <<-HTML |
| 17 | − © 2020 The TensorFlow Authors. All rights reserved.<br> | |
| 17 | + © 2022 The TensorFlow Authors. All rights reserved.<br> | |
| 18 | 18 | Licensed under the Creative Commons Attribution License 4.0.<br> |
| 19 | 19 | Code samples licensed under the Apache 2.0 License. |
| 20 | 20 | HTML |
| 21 | 21 | |
| 22 | + version '2.9' do | |
| 23 | + self.release = "2.9.1" | |
| 24 | + self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/python/tf" | |
| 25 | + end | |
| 26 | + | |
| 22 | 27 | version '2.4' do |
| 23 | 28 | self.release = "#{version}.0" |
| 24 | 29 | self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/python/tf" |
| @@ -3,6 +3,11 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | self.name = 'TensorFlow C++' |
| 4 | 4 | self.slug = 'tensorflow_cpp' |
| 5 | 5 | |
| 6 | + version '2.9' do | |
| 7 | + self.release = "2.9.1" | |
| 8 | + self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/cc" | |
| 9 | + end | |
| 10 | + | |
| 6 | 11 | version '2.4' do |
| 7 | 12 | self.release = "#{version}.0" |
| 8 | 13 | self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/cc" |