[Groonga-commit] droonga/fluent-plugin-droonga at 8ccd8c2 [master] Enable documentation

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Nov 24 08:50:39 JST 2013


Kouhei Sutou	2013-11-24 08:50:39 +0900 (Sun, 24 Nov 2013)

  New Revision: 8ccd8c288cb8b40497bfd1ece7ff0fc2ba0f9fb7
  https://github.com/droonga/fluent-plugin-droonga/commit/8ccd8c288cb8b40497bfd1ece7ff0fc2ba0f9fb7

  Message:
    Enable documentation

  Added files:
    .yardopts
  Modified files:
    .gitignore
    Rakefile
    fluent-plugin-droonga.gemspec

  Modified: .gitignore (+2 -0)
===================================================================
--- .gitignore    2013-11-24 08:48:12 +0900 (4219ffe)
+++ .gitignore    2013-11-24 08:50:39 +0900 (d631373)
@@ -3,3 +3,5 @@
 /test/command/Gemfile.lock
 /test/command/bin/
 /test/command/vendor/
+/doc/
+/.yardoc/

  Added: .yardopts (+7 -0) 100644
===================================================================
--- /dev/null
+++ .yardopts    2013-11-24 08:50:39 +0900 (bcc5b05)
@@ -0,0 +1,7 @@
+--output-dir doc/reference/en
+--markup markdown
+--markup-provider kramdown
+lib/**/*.rb
+-
+LICENSE.txt
+doc/text/**/*.*

  Modified: Rakefile (+13 -1)
===================================================================
--- Rakefile    2013-11-24 08:48:12 +0900 (f06adff)
+++ Rakefile    2013-11-24 08:50:39 +0900 (cb5424b)
@@ -15,7 +15,19 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-require "bundler/gem_tasks"
+require "bundler/gem_helper"
+require "packnga"
+
+base_dir = File.join(File.dirname(__FILE__))
+
+helper = Bundler::GemHelper.new(base_dir)
+helper.install
+spec = helper.gemspec
+
+Packnga::DocumentTask.new(spec) do |task|
+  task.original_language = "en"
+  task.translate_languages = ["ja"]
+end
 
 desc "Run test"
 task :test do

  Modified: fluent-plugin-droonga.gemspec (+2 -0)
===================================================================
--- fluent-plugin-droonga.gemspec    2013-11-24 08:48:12 +0900 (b581104)
+++ fluent-plugin-droonga.gemspec    2013-11-24 08:50:39 +0900 (713db82)
@@ -38,4 +38,6 @@ Gem::Specification.new do |gem|
   gem.add_development_dependency "test-unit"
   gem.add_development_dependency "test-unit-notify"
   gem.add_development_dependency "test-unit-rr"
+  gem.add_development_dependency "packnga"
+  gem.add_development_dependency "kramdown"
 end
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index