[devdocsgjs/main: 1195/1867] Fix TensorFlow Python frontpage




commit fba1adafe9ac7805a72724db6304768282fbb60d
Author: Lukas Geiger <lukas geiger94 gmail com>
Date:   Tue Nov 17 17:02:57 2020 +0000

    Fix TensorFlow Python frontpage

 lib/docs/scrapers/tensorflow/tensorflow.rb     | 2 +-
 lib/docs/scrapers/tensorflow/tensorflow_cpp.rb | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/lib/docs/scrapers/tensorflow/tensorflow.rb b/lib/docs/scrapers/tensorflow/tensorflow.rb
index 6f49a521..70f9db43 100644
--- a/lib/docs/scrapers/tensorflow/tensorflow.rb
+++ b/lib/docs/scrapers/tensorflow/tensorflow.rb
@@ -2,7 +2,7 @@ module Docs
   class Tensorflow < UrlScraper
     self.name = 'TensorFlow'
     self.type = 'tensorflow'
-    self.root_path = 'all_symbols'
+    self.root_path = '/'
     self.links = {
       home: 'https://www.tensorflow.org/',
       code: 'https://github.com/tensorflow/tensorflow'
diff --git a/lib/docs/scrapers/tensorflow/tensorflow_cpp.rb b/lib/docs/scrapers/tensorflow/tensorflow_cpp.rb
index 2d979cc6..2bfcc6e3 100644
--- a/lib/docs/scrapers/tensorflow/tensorflow_cpp.rb
+++ b/lib/docs/scrapers/tensorflow/tensorflow_cpp.rb
@@ -2,7 +2,6 @@ module Docs
   class TensorflowCpp < Tensorflow
     self.name = 'TensorFlow C++'
     self.slug = 'tensorflow_cpp'
-    self.root_path = '/'
 
     version '2.3' do
       self.release = "#{version}.0"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]