Sha256: f45cdb7e683dd4fa90a092ad660da45f4f467781efd0397261a9bdda58774060

Contents?: true

Size: 685 Bytes

Versions: 161

Compression:

Stored size: 685 Bytes

Contents

# frozen_string_literal: true

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

161 entries across 148 versions & 19 rubygems

Version Path
wallee-ruby-sdk-4.2.0 vendor/bundle/ruby/3.0.0/gems/addressable-2.8.6/tasks/yard.rake
addressable-2.8.6 tasks/yard.rake
direct7-0.0.11 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/tasks/yard.rake
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/addressable-2.8.5/tasks/yard.rake
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/addressable-2.8.5/tasks/yard.rake
addressable-2.8.5 tasks/yard.rake
cloudsmith-api-2.0.7 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/tasks/yard.rake
cloudsmith-api-2.0.6 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/tasks/yard.rake
cloudsmith-api-2.0.5 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/tasks/yard.rake
cloudsmith-api-2.0.4 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/tasks/yard.rake
cloudsmith-api-2.0.3 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/tasks/yard.rake
cloudsmith-api-2.0.2 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.4/tasks/yard.rake
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/addressable-2.8.4/tasks/yard.rake
addressable-2.8.4 tasks/yard.rake
addressable-2.8.3 tasks/yard.rake
addressable-2.8.2 tasks/yard.rake
postfinancecheckout-ruby-sdk-3.3.0 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.1/tasks/yard.rake
wallee-ruby-sdk-3.3.0 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.1/tasks/yard.rake
cloudsmith-api-2.0.1 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.1/tasks/yard.rake
cloudsmith-api-2.0.0 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.1/tasks/yard.rake