History

Version Clojure documentation (1.7 and 1.8)

Ref #25.

Thibaut Courouble committed 10 years ago

Commit f7b213c1 parent d99a2c91 file · +10 −2Browse files

Unified · Split

lib/docs/scrapers/clojure.rb+10−2
@@ -1,8 +1,6 @@
1module Docs1module Docs
2 class Clojure < UrlScraper2 class Clojure < UrlScraper
3 self.type = 'clojure'3 self.type = 'clojure'
4 self.release = '1.7'
5 self.base_url = 'http://clojure.github.io/clojure/'
6 self.root_path = 'api-index.html'4 self.root_path = 'api-index.html'
7 5
8 html_filters.push 'clojure/entries', 'clojure/clean_html'6 html_filters.push 'clojure/entries', 'clojure/clean_html'
@@ -14,5 +12,15 @@ module Docs · 5 unmodified lines
14 &copy; Rich Hickey<br>12 &copy; Rich Hickey<br>
15 Licensed under the Eclipse Public License 1.0.13 Licensed under the Eclipse Public License 1.0.
16 HTML14 HTML
15
16 version '1.8' do
17 self.release = '1.8'
18 self.base_url = 'https://clojure.github.io/clojure/'
19 end
20
21 version '1.7' do
22 self.release = '1.7'
23 self.base_url = 'https://clojure.github.io/clojure/branch-clojure-1.7.0/'
24 end
17 end25 end
18end26end