From ccd20c04729945d81906d5c1cbbc6ddf034ddc80 Mon Sep 17 00:00:00 2001 From: Lukas Geiger Date: Sun, 15 Nov 2020 20:48:34 +0000 Subject: [PATCH] Remove TensorFlow Guides --- lib/docs/filters/tensorflow/entries.rb | 6 +----- lib/docs/scrapers/tensorflow/tensorflow_guide.rb | 9 --------- public/icons/docs/tensorflow_guide/16.png | Bin 599 -> 0 bytes public/icons/docs/tensorflow_guide/16@2x.png | Bin 404 -> 0 bytes public/icons/docs/tensorflow_guide/SOURCE | 1 - 5 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 lib/docs/scrapers/tensorflow/tensorflow_guide.rb delete mode 100644 public/icons/docs/tensorflow_guide/16.png delete mode 100644 public/icons/docs/tensorflow_guide/16@2x.png delete mode 100644 public/icons/docs/tensorflow_guide/SOURCE 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 8463d5699f47fe7db6b702b5a30c64ba74d85afb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 599 zcmV-d0;v6oP)5lgn#UQ4oi}b8~V7HEJYAqDCoATiSwAYQP6d!3TtZ z73@Ngx~OiVv~Cpf4^VI+E==(Ok_tBNbRn3EiknmkwxR^7(NZj8u$pL7uLL!Z<07e; zn=aZ}&iv*(^EyH)MV+PYx=CC*#+O6~64#UfAlb<(cbrY3L7ICXWB2B30YAS=64(4BZ=WPL)s19jHSsADu(Ago(3!*Oy-(B8 ztF)XL$F`;@RO+FN(JKSIi}hi}Q%wYm319>CYE1Hpb-^K8PlY8D51M%s3t_{B02K2* z2~)e3h(I9lkdB40dq*UiMMFbF0ap8aHu^`%zV4-vbJnEmj&H2pI!x|G5M{I?&=3|) zQZ5M;S)AT`1TGA+zH^r7-b4H`0hB7ycsPnY5+QZ5pC6N5sFIMh2S4EO9LLu)j??=a zBke&cbNNu1b1`=MCXENeY`b-i%xDJ=-?XGHkftq={_mywyQr8((b&xNo%5{jd`bJ+ zXH;jpSSzC_0yc_F#Mg4szIj|Teq_{4_< ly!(=Lg@dikkeUDh002ovPDHLkV1k3A2sZ!# 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 00a8af6dabc6bd2705678240ab4a59398f490e80..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 404 zcmV;F0c-w=P)bWUp}xZee%_FF+E28Gr&LzQXejWB zFF+E26#x_I#XCg22?r-%Yj0PYEp7nRKcP5}NPfXW>d zAQS*X4L}sYk;G^K2?3k{u>_C=$Zl&HU|oxb9nw&M7hvPP797D5^YtB!^1A>lE_VEA zWtT8;3G)qN)hY)JtNaxtw(!6H4J$lDHv|41;8=iuIsgd)i~wGMGznl`3oC$`4v;qk yX22l>+=$W4)dl4JFr1FvuXH>&TgG!!vezfc^{4$!^Uogu0000