Sha256: af5be4a717dadcad772d23ae2f5cca6ac78a1878f22e9318dc48c4c13e2d2e7c

Contents?: true

Size: 625 Bytes

Versions: 16

Compression:

Stored size: 625 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

###
# wxRuby3 rake doc generation support
###

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

16 entries across 16 versions & 1 rubygems

Version Path
wxruby3-1.3.1 rakelib/doc.rb
wxruby3-1.3.0 rakelib/doc.rb
wxruby3-1.2.1 rakelib/doc.rb
wxruby3-1.2.0 rakelib/doc.rb
wxruby3-1.1.2 rakelib/doc.rb
wxruby3-1.1.1 rakelib/doc.rb
wxruby3-1.1.0 rakelib/doc.rb
wxruby3-1.0.1 rakelib/doc.rb
wxruby3-0.9.8 rakelib/doc.rb
wxruby3-0.9.7 rakelib/doc.rb
wxruby3-0.9.5 rakelib/doc.rb
wxruby3-0.9.4 rakelib/doc.rb
wxruby3-0.9.3 rakelib/doc.rb
wxruby3-0.9.2 rakelib/doc.rb
wxruby3-0.9.1 rakelib/doc.rb
wxruby3-0.9.0 rakelib/doc.rb