File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
assets/javascripts/templates/pages
lib/docs/scrapers/tensorflow Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -798,9 +798,9 @@ credits = [
798798 ' http://tcl.tk/software/tcltk/license.html'
799799 ], [
800800 ' TensorFlow' ,
801- ' 2019 The TensorFlow Authors' ,
801+ ' 2020 The TensorFlow Authors' ,
802802 ' CC BY' ,
803- ' https://creativecommons.org/licenses/by/3 .0/'
803+ ' https://creativecommons.org/licenses/by/4 .0/'
804804 ], [
805805 ' Terraform' ,
806806 ' 2018 HashiCorp' ,
Original file line number Diff line number Diff line change @@ -15,10 +15,15 @@ class Tensorflow < UrlScraper
1515
1616 options [ :attribution ] = <<-HTML
1717 © 2020 The TensorFlow Authors. All rights reserved.< br >
18- Licensed under the Creative Commons Attribution License 3 .0.< br >
18+ Licensed under the Creative Commons Attribution License 4 .0.< br >
1919 Code samples licensed under the Apache 2.0 License.
2020 HTML
2121
22+ version '2.4' do
23+ self . release = "#{ version } .0"
24+ self . base_url = "https://www.tensorflow.org/versions/r#{ version } /api_docs/python/tf"
25+ end
26+
2227 version '2.3' do
2328 self . release = "#{ version } .0"
2429 self . base_url = "https://www.tensorflow.org/versions/r#{ version } /api_docs/python/tf"
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ class TensorflowCpp < Tensorflow
33 self . name = 'TensorFlow C++'
44 self . slug = 'tensorflow_cpp'
55
6+ version '2.4' do
7+ self . release = "#{ version } .0"
8+ self . base_url = "https://www.tensorflow.org/versions/r#{ version } /api_docs/cc"
9+ end
10+
611 version '2.3' do
712 self . release = "#{ version } .0"
813 self . base_url = "https://www.tensorflow.org/versions/r#{ version } /api_docs/cc"
You can’t perform that action at this time.
0 commit comments