Permalink
Browse files

generate help from wiki

  • Loading branch information...
1 parent 7a55347 commit 722c980a8f9055c433d0523b6c9ce68ef1f2860a @vladdu vladdu committed Jul 17, 2014
View
@@ -1 +1 @@
-jruby-1.7.9
+1.9.3-p547
View
@@ -0,0 +1,4 @@
+# A sample Gemfile
+source "https://rubygems.org"
+
+gem "rake"
View
@@ -0,0 +1,10 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ rake (10.3.2)
+
+PLATFORMS
+ java
+
+DEPENDENCIES
+ rake
@@ -0,0 +1 @@
+1.9.3-p547
@@ -0,0 +1,5 @@
+# A sample Gemfile
+source "https://rubygems.org"
+
+gem "gollum-site", :git => 'git://github.com/dreverri/gollum-site.git'
+
@@ -0,0 +1,56 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ blankslate (3.1.3)
+ diff-lcs (1.2.5)
+ directory_watcher (1.5.1)
+ ffi (1.0.11)
+ github-markdown (0.6.5)
+ github-markup (0.7.5)
+ gollum (1.4.3)
+ github-markdown
+ github-markup (>= 0.7.0, < 1.0.0)
+ grit (~> 2.4.1)
+ mustache (>= 0.11.2, < 1.0.0)
+ nokogiri (~> 1.4)
+ posix-spawn (~> 0.3.0)
+ pygments.rb (~> 0.2.0)
+ sanitize (~> 2.0.0)
+ sinatra (~> 1.0)
+ gollum-site (0.1.12)
+ directory_watcher
+ gollum (= 1.4.3)
+ liquid (>= 2.2.2)
+ mixlib-log (>= 1.1.0)
+ grit (2.4.1)
+ diff-lcs (~> 1.1)
+ mime-types (~> 1.15)
+ liquid (2.6.1)
+ mime-types (1.25.1)
+ mini_portile (0.6.0)
+ mixlib-log (1.6.0)
+ mustache (0.99.5)
+ nokogiri (1.6.2.1)
+ mini_portile (= 0.6.0)
+ posix-spawn (0.3.8)
+ pygments.rb (0.2.13)
+ rubypython (~> 0.5.3)
+ rack (1.5.2)
+ rack-protection (1.5.3)
+ rack
+ rubypython (0.5.3)
+ blankslate (>= 2.1.2.3)
+ ffi (~> 1.0.7)
+ sanitize (2.0.6)
+ nokogiri (>= 1.4.4)
+ sinatra (1.4.5)
+ rack (~> 1.4)
+ rack-protection (~> 1.4)
+ tilt (~> 1.3, >= 1.3.4)
+ tilt (1.4.1)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ gollum-site
@@ -19,8 +19,12 @@
<topic href="html/concepts.html#backends" label="Runtimes and backends"></topic>
</topic>
</topic>
- <topic href="html/Accessing-the-code.html" label="TEST">
+
+ <topic href="html/Accessing-the-code.html" label="Accessing">
</topic>
+ <topic href="html/Branches.html" label="Branches">
+ </topic>
+
<topic href="html/reference.html" label="2. Reference">
<topic href="html/create_project.html" label="Creating a project"></topic>
<topic href="html/import_project.html" label="Importing an Erlang Project"></topic>
@@ -47,3 +47,11 @@ task :tag_release do
puts "Creating release"
end
+
+desc "generate help contents from wiki"
+task :generate_help, [:tools_dir] do |t, args|
+ args.with_defaults(:tools_dir => "#{ENV['HOME']}/erlide_tools")
+ puts "Generating help contents"
+
+ system "cd org.erlide.releng && chmod +x gen_help && ./gen_help ../org.erlide.help"
+end
@@ -0,0 +1,14 @@
+set +x
+
+cd org.erlide.help
+echo "Generate help"
+
+rm -rf wiki
+git clone git://github.com/erlide/erlide.wiki.git wiki
+cd wiki
+
+bundle install
+bundle exec gollum-site generate
+cd ..
+cp -R wiki/_site/* html
+

0 comments on commit 722c980

Please sign in to comment.