From fba1adafe9ac7805a72724db6304768282fbb60d Mon Sep 17 00:00:00 2001 From: Lukas Geiger Date: Tue, 17 Nov 2020 17:02:57 +0000 Subject: [PATCH] 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"