Add gnuplot documentation as source
Documentation is part of the gnuplot source code, available at:
- https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/docs/
This can be redistributed, according the the Copyright (emphasis mine):
> * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
> *
> * Permission to use, copy, and distribute this software **and its**
> * **documentation** for any purpose with or without fee is hereby granted,
> * provided that the above copyright notice appear in all copies and
> * that both that copyright notice and this permission notice appear
> * in supporting documentation.
Full copyright notice here:
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright
The term “gnuplot license” is not very widespread but brings satisfying
results on search engines (including on wikipedia), so I took the
liberty to add a link to the copyright file, taken from the “Gnuplot's
copyright” link on the gnuplot home page, http://gnuplot.info.
Here is how to build the gnuplot docs to parse them:
mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
git clone -b 5.2.7 --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
cd gnuplot-src/
./prepare
cd ../gnuplot-conf
../gnuplot-src/configure
make -C docs nofigures.tex
latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode docs/nofigures.tex
2019-05-23 23:48:41 +02:00
module Docs
class Gnuplot < FileScraper
self . type = 'gnuplot'
2021-05-25 00:12:40 -06:00
self . release = '5.4.0'
Add gnuplot documentation as source
Documentation is part of the gnuplot source code, available at:
- https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/docs/
This can be redistributed, according the the Copyright (emphasis mine):
> * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
> *
> * Permission to use, copy, and distribute this software **and its**
> * **documentation** for any purpose with or without fee is hereby granted,
> * provided that the above copyright notice appear in all copies and
> * that both that copyright notice and this permission notice appear
> * in supporting documentation.
Full copyright notice here:
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright
The term “gnuplot license” is not very widespread but brings satisfying
results on search engines (including on wikipedia), so I took the
liberty to add a link to the copyright file, taken from the “Gnuplot's
copyright” link on the gnuplot home page, http://gnuplot.info.
Here is how to build the gnuplot docs to parse them:
mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
git clone -b 5.2.7 --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
cd gnuplot-src/
./prepare
cd ../gnuplot-conf
../gnuplot-src/configure
make -C docs nofigures.tex
latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode docs/nofigures.tex
2019-05-23 23:48:41 +02:00
self . links = {
2020-11-24 19:50:12 +00:00
home : 'http://www.gnuplot.info/' ,
code : 'https://sourceforge.net/projects/gnuplot/'
Add gnuplot documentation as source
Documentation is part of the gnuplot source code, available at:
- https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/docs/
This can be redistributed, according the the Copyright (emphasis mine):
> * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
> *
> * Permission to use, copy, and distribute this software **and its**
> * **documentation** for any purpose with or without fee is hereby granted,
> * provided that the above copyright notice appear in all copies and
> * that both that copyright notice and this permission notice appear
> * in supporting documentation.
Full copyright notice here:
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright
The term “gnuplot license” is not very widespread but brings satisfying
results on search engines (including on wikipedia), so I took the
liberty to add a link to the copyright file, taken from the “Gnuplot's
copyright” link on the gnuplot home page, http://gnuplot.info.
Here is how to build the gnuplot docs to parse them:
mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
git clone -b 5.2.7 --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
cd gnuplot-src/
./prepare
cd ../gnuplot-conf
../gnuplot-src/configure
make -C docs nofigures.tex
latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode docs/nofigures.tex
2019-05-23 23:48:41 +02:00
}
2020-01-14 12:22:55 -05:00
self . root_path = 'nofigures.html'
Add gnuplot documentation as source
Documentation is part of the gnuplot source code, available at:
- https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/docs/
This can be redistributed, according the the Copyright (emphasis mine):
> * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
> *
> * Permission to use, copy, and distribute this software **and its**
> * **documentation** for any purpose with or without fee is hereby granted,
> * provided that the above copyright notice appear in all copies and
> * that both that copyright notice and this permission notice appear
> * in supporting documentation.
Full copyright notice here:
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright
The term “gnuplot license” is not very widespread but brings satisfying
results on search engines (including on wikipedia), so I took the
liberty to add a link to the copyright file, taken from the “Gnuplot's
copyright” link on the gnuplot home page, http://gnuplot.info.
Here is how to build the gnuplot docs to parse them:
mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
git clone -b 5.2.7 --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
cd gnuplot-src/
./prepare
cd ../gnuplot-conf
../gnuplot-src/configure
make -C docs nofigures.tex
latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode docs/nofigures.tex
2019-05-23 23:48:41 +02:00
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
2020-01-14 12:22:55 -05:00
Index.html
Add gnuplot documentation as source
Documentation is part of the gnuplot source code, available at:
- https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/docs/
This can be redistributed, according the the Copyright (emphasis mine):
> * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
> *
> * Permission to use, copy, and distribute this software **and its**
> * **documentation** for any purpose with or without fee is hereby granted,
> * provided that the above copyright notice appear in all copies and
> * that both that copyright notice and this permission notice appear
> * in supporting documentation.
Full copyright notice here:
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright
The term “gnuplot license” is not very widespread but brings satisfying
results on search engines (including on wikipedia), so I took the
liberty to add a link to the copyright file, taken from the “Gnuplot's
copyright” link on the gnuplot home page, http://gnuplot.info.
Here is how to build the gnuplot docs to parse them:
mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
git clone -b 5.2.7 --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
cd gnuplot-src/
./prepare
cd ../gnuplot-conf
../gnuplot-src/configure
make -C docs nofigures.tex
latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode docs/nofigures.tex
2019-05-23 23:48:41 +02:00
)
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
2020-11-06 22:51:23 +01:00
def get_latest_version(opts)
2020-02-07 20:17:09 +01:00
doc = fetch_doc('http: / / www . gnuplot . info / download . html ', opts)
label = doc.at_css(' h2 ').content.strip
label.sub(/[^0-9.]*/, ' ' )
2020-11-06 22:51:23 +01:00
end
Add gnuplot documentation as source
Documentation is part of the gnuplot source code, available at:
- https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/docs/
This can be redistributed, according the the Copyright (emphasis mine):
> * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley
> *
> * Permission to use, copy, and distribute this software **and its**
> * **documentation** for any purpose with or without fee is hereby granted,
> * provided that the above copyright notice appear in all copies and
> * that both that copyright notice and this permission notice appear
> * in supporting documentation.
Full copyright notice here:
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/master/tree/Copyright
The term “gnuplot license” is not very widespread but brings satisfying
results on search engines (including on wikipedia), so I took the
liberty to add a link to the copyright file, taken from the “Gnuplot's
copyright” link on the gnuplot home page, http://gnuplot.info.
Here is how to build the gnuplot docs to parse them:
mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
git clone -b 5.2.7 --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
cd gnuplot-src/
./prepare
cd ../gnuplot-conf
../gnuplot-src/configure
make -C docs nofigures.tex
latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode docs/nofigures.tex
2019-05-23 23:48:41 +02:00
end
end