| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- module Docs
- class Gnuplot < FileScraper
- self.type = 'gnuplot'
- self.release = '5.2.8'
- self.links = {
- home: 'http://gnuplot.sourceforge.net/'
- }
- self.root_path = 'nofigures.html'
- html_filters.push 'gnuplot/entries', 'gnuplot/clean_html'
- options[:skip_links] = false
- options[:skip] = %w(
- Copyright.html
- External_libraries.html
- Known_limitations.html
- Introduction.html
- About_this_document.html
- New_features.html
- Differences_from_version_4.html
- Seeking_assistance.html
- Gnuplot.html
- Deprecated_syntax.html
- Demos_Online_Examples.html
- Terminal_types.html
- Plotting_styles.html
- Commands.html
- Contents.html
- Bugs.html
- Index.html
- )
- options[:attribution] = <<-HTML
- Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley<br>
- Distributed under the <a href="https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright">gnuplot license</a> (rights to distribute modified versions are withheld).
- HTML
- def get_latest_version(opts)
- doc = fetch_doc('https://sourceforge.net/projects/gnuplot/files/gnuplot/', opts)
- doc.at_css('#files_list > tbody > tr:nth-child(2)')['title']
- end
- end
- end
|