Sha256: ed0846c9370837f2779b33ce144cf66ad05114e440b7172a2395db631e045fd5

Contents?: true

Size: 565 Bytes

Versions: 9

Compression:

Stored size: 565 Bytes

Contents

###
# wxRuby3 rake doc generation support
# Copyright (c) M.J.N. Corino, The Netherlands
###
require_relative './lib/config'

if WXRuby3.is_bootstrapped?

  WXRuby3::Director.each_package do |pkg|

    namespace pkg.name.downcase do

      if WXRuby3.is_configured?

        task :doc => ['config:bootstrap', *pkg.all_swig_files] do
          pkg.generate_docs
        end

      end

    end

  end

  def all_doc_targets
    WXRuby3::Director.all_packages.collect {|p| "wxruby:#{p.name.downcase}:doc".to_sym }
  end

else

  def all_doc_targets
    []
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/doc.rb
wxruby3-0.9.0.pre.rc.2 rakelib/doc.rb
wxruby3-0.9.0.pre.rc.1 rakelib/doc.rb
wxruby3-0.9.0.pre.beta.14 rakelib/doc.rb
wxruby3-0.9.0.pre.beta.13 rakelib/doc.rb
wxruby3-0.9.0.pre.beta.11 rakelib/doc.rb
wxruby3-0.9.0.pre.beta.10 rakelib/doc.rb
wxruby3-0.9.0.pre.beta.9 rakelib/doc.rb
wxruby3-0.9.0.pre.beta.8 rakelib/doc.rb