1
0

tensorflow.rb 527 B

123456789101112131415161718
  1. module Docs
  2. class Tensorflow < UrlScraper
  3. self.name = 'TensorFlow'
  4. self.slug = 'tensorflow'
  5. self.type = 'tensorflow'
  6. self.release = '0.6.0-py'
  7. self.base_url = 'https://www.tensorflow.org/versions/0.6.0/api_docs/python/'
  8. options[:container] = '#content'
  9. html_filters.push 'tensorflow/entries', 'tensorflow/clean_html', 'clean_html'
  10. options[:attribution] = <<-HTML
  11. &copy; The TensorFlow Authors. All rights reserved.<br>
  12. Licensed under the Apache 2.0 License.
  13. HTML
  14. end
  15. end