Merge pull request #1328 from smithdc1/django

Updated Django Documentation (3.1.4)
pull/1330/head
Simon Legner 4 years ago committed by GitHub
commit 734002f4a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,8 +25,11 @@ and put it in `/path/to/devdocs/docs/`
Go to https://docs.djangoproject.com/, select the version from the Go to https://docs.djangoproject.com/, select the version from the
bubble in the bottom-right corner, then download the HTML version from the sidebar. bubble in the bottom-right corner, then download the HTML version from the sidebar.
URL: `https://media.djangoproject.com/docs/django-docs-$VERSION-en.zip` ```sh
mkdir --parent docs/django\~$VERSION/; \
curl https://media.djangoproject.com/docs/django-docs-$VERSION-en.zip | \
bsdtar --extract --file - --directory=docs/django\~$VERSION/
```
## Erlang ## Erlang

@ -34,13 +34,18 @@ module Docs
Licensed under the BSD License. Licensed under the BSD License.
HTML HTML
version '3.1' do
self.release = '3.1.4'
self.base_url = 'https://docs.djangoproject.com/en/3.1/'
end
version '3.0' do version '3.0' do
self.release = '3.0.3' self.release = '3.0.11'
self.base_url = 'https://docs.djangoproject.com/en/3.0/' self.base_url = 'https://docs.djangoproject.com/en/3.0/'
end end
version '2.2' do version '2.2' do
self.release = '2.2.10' self.release = '2.2.17'
self.base_url = 'https://docs.djangoproject.com/en/2.2/' self.base_url = 'https://docs.djangoproject.com/en/2.2/'
end end
@ -55,7 +60,7 @@ module Docs
end end
version '1.11' do version '1.11' do
self.release = '1.11.28' self.release = '1.11.29'
self.base_url = 'https://docs.djangoproject.com/en/1.11/' self.base_url = 'https://docs.djangoproject.com/en/1.11/'
end end

Loading…
Cancel
Save