Sha256: 37f08fcd57a08996abe85ed8131cbc8b190de0ff7bafeba1022a64852ecd0e36

Contents?: true

Size: 654 Bytes

Versions: 96

Compression:

Stored size: 654 Bytes

Contents

require "rake"

begin
  require "yard"
  require "yard/rake/yardoc_task"

  namespace :doc do
    desc "Generate Yardoc documentation"
    YARD::Rake::YardocTask.new do |yardoc|
      yardoc.name = "yard"
      yardoc.options = ["--verbose", "--markup", "markdown"]
      yardoc.files = FileList[
        "lib/**/*.rb", "ext/**/*.c",
        "README.md", "CHANGELOG.md", "LICENSE.txt"
      ].exclude(/idna/)
    end
  end

  task "clobber" => ["doc:clobber_yard"]

  desc "Alias to doc:yard"
  task "doc" => "doc:yard"
rescue LoadError
  # If yard isn't available, it's not the end of the world
  desc "Alias to doc:rdoc"
  task "doc" => "doc:rdoc"
end

Version data entries

96 entries across 74 versions & 18 rubygems

Version Path
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/addressable-2.3.8/tasks/yard.rake
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/addressable-2.4.0/tasks/yard.rake
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/addressable-2.4.0/tasks/yard.rake
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/addressable-2.4.0/tasks/yard.rake
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/addressable-2.3.8/tasks/yard.rake
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/addressable-2.3.8/tasks/yard.rake
addressable-2.4.0 tasks/yard.rake
solidus_backend-1.0.0.pre3 vendor/bundle/gems/addressable-2.3.8/tasks/yard.rake
solidus_backend-1.0.0.pre2 vendor/bundle/gems/addressable-2.3.8/tasks/yard.rake
solidus_backend-1.0.0.pre vendor/bundle/gems/addressable-2.3.8/tasks/yard.rake
addressable-2.3.8 tasks/yard.rake
addressable-2.3.7 tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/addressable-2.3.6/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/addressable-2.3.5/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/addressable-2.3.6/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/addressable-2.3.5/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/addressable-2.3.5/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/addressable-2.3.6/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/addressable-2.3.5/tasks/yard.rake
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/addressable-2.3.6/tasks/yard.rake