diff --git a/lib/docs/filters/tensorflow/entries.rb b/lib/docs/filters/tensorflow/entries.rb index 411510f2..7c8ebb84 100644 --- a/lib/docs/filters/tensorflow/entries.rb +++ b/lib/docs/filters/tensorflow/entries.rb @@ -15,11 +15,7 @@ module Docs end def get_type - if base_url.path.start_with?('/guide') - 'Guides' - elsif base_url.path.start_with?('/tutorials') - 'Tutorials' - elsif slug.start_with?('tf/audio') + if slug.start_with?('tf/audio') 'tf.audio' elsif slug.start_with?('tf/autograph') 'tf.autograph' diff --git a/lib/docs/scrapers/tensorflow/tensorflow_guide.rb b/lib/docs/scrapers/tensorflow/tensorflow_guide.rb deleted file mode 100644 index 736c2dec..00000000 --- a/lib/docs/scrapers/tensorflow/tensorflow_guide.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Docs - class TensorflowGuide < Tensorflow - include MultipleBaseUrls - - self.name = 'TensorFlow Guides' - self.slug = 'tensorflow_guide' - self.base_urls = ['https://www.tensorflow.org/guide/', 'https://www.tensorflow.org/tutorials/'] - end -end diff --git a/public/icons/docs/tensorflow_guide/16.png b/public/icons/docs/tensorflow_guide/16.png deleted file mode 100644 index 8463d569..00000000 Binary files a/public/icons/docs/tensorflow_guide/16.png and /dev/null differ diff --git a/public/icons/docs/tensorflow_guide/16@2x.png b/public/icons/docs/tensorflow_guide/16@2x.png deleted file mode 100644 index 00a8af6d..00000000 Binary files a/public/icons/docs/tensorflow_guide/16@2x.png and /dev/null differ diff --git a/public/icons/docs/tensorflow_guide/SOURCE b/public/icons/docs/tensorflow_guide/SOURCE deleted file mode 100644 index 3d2bb927..00000000 --- a/public/icons/docs/tensorflow_guide/SOURCE +++ /dev/null @@ -1 +0,0 @@ -https://www.tensorflow.org/images/favicon.png \ No newline at end of file