Update TensorFlow documentation (2.4.0)

pull/1493/head
Simon Legner 4 years ago
parent be1ec853f5
commit 1a7ba5962b

@ -798,9 +798,9 @@ credits = [
'http://tcl.tk/software/tcltk/license.html'
], [
'TensorFlow',
'2019 The TensorFlow Authors',
'2020 The TensorFlow Authors',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
'https://creativecommons.org/licenses/by/4.0/'
], [
'Terraform',
'2018 HashiCorp',

@ -15,10 +15,15 @@ module Docs
options[:attribution] = <<-HTML
&copy; 2020 The TensorFlow Authors. All rights reserved.<br>
Licensed under the Creative Commons Attribution License 3.0.<br>
Licensed under the Creative Commons Attribution License 4.0.<br>
Code samples licensed under the Apache 2.0 License.
HTML
version '2.4' do
self.release = "#{version}.0"
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/python/tf"
end
version '2.3' do
self.release = "#{version}.0"
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/python/tf"

@ -3,6 +3,11 @@ module Docs
self.name = 'TensorFlow C++'
self.slug = 'tensorflow_cpp'
version '2.4' do
self.release = "#{version}.0"
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/cc"
end
version '2.3' do
self.release = "#{version}.0"
self.base_url = "https://www.tensorflow.org/versions/r#{version}/api_docs/cc"

Loading…
Cancel
Save