Update Elisp Documentation (27.2)

- Change Elisp scraper to FileScraper
- Add notes about how to obtain Elisp doc files
pull/1520/head
Enoc 4 years ago
parent 998db6b848
commit a721460c89

@ -268,7 +268,7 @@ credits = [
'https://raw.githubusercontent.com/elixir-lang/elixir/master/LICENSE'
], [
'Elisp',
'1990-1996, 1998-2019 Free Software Foundation, Inc.',
'1990-1996, 1998-2021 Free Software Foundation, Inc.',
'GPLv3',
'https://www.gnu.org/licenses/gpl-3.0.html'
], [

@ -37,6 +37,16 @@ curl https://media.djangoproject.com/docs/django-docs-$VERSION-en.zip | \
bsdtar --extract --file - --directory=docs/django\~$VERSION/
```
## Elisp
Go to https://www.gnu.org/software/emacs/manual/elisp.html, donwload the HTML tarball and extract its content in `/path/to/devdocs/docs/elisp` or run the following command:
```sh
mkdir /path/to/devdocs/docs/elisp \
&& curl curl https://www.gnu.org/software/emacs/manual/elisp.html_node.tar.gz | \
tar --extract --gzip --strip-components=1 --directory=/path/to/devdocs/docs/elisp
```
## Erlang
Go to https://www.erlang.org/downloads and download the HTML documentation file.

@ -1,7 +1,7 @@
module Docs
class Elisp < UrlScraper
class Elisp < FileScraper
self.type = 'elisp'
self.release = '27.1'
self.release = '27.2'
self.base_url= 'https://www.gnu.org/software/emacs/manual/html_node/elisp/'
self.root_path = 'index.html'
self.links = {
@ -57,7 +57,7 @@ module Docs
end
options[:attribution]= <<-HTML
Copyright &copy; 1990-1996, 1998-2019 Free Software Foundation, Inc. <br>
Copyright &copy; 1990-1996, 1998-2021 Free Software Foundation, Inc. <br>
Licensed under the GNU GPL license.
HTML

Loading…
Cancel
Save