Sha256: 737c65a34ac566c960532f60e26a4d02119fd51ca4a365ce70b0d517cd8b2f72

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 KB

Contents

module YARD::APIPlugin
  # See config/yard_api.yml for documentation for the options.
  class Options < YARD::Options
    default_attr :format, 'html'
    default_attr :no_save, false

    default_attr :output, 'compiled/doc/api'

    default_attr :title, 'Rails API Project'
    default_attr :window_title, 'Rails API Project'
    default_attr :url_title, 'my_app'
    default_attr :url_prefix, '/api'
    default_attr :version, ''
    default_attr :static, []
    default_attr :files, []
    default_attr :route_namespace, ''
    default_attr :github_url, nil
    default_attr :github_branch, 'master'

    default_attr :footer_copyright, ''
    default_attr :footer_note, ''

    default_attr :one_file, false
    default_attr :strict, false
    default_attr :verbose, ENV['VERBOSE'] || false
    default_attr :debug, ENV['DEBUG'] || false
    default_attr :theme, 'default'

    default_attr :tabular_arguments, false
    default_attr :strict_arguments, false

    default_attr :sidebar_width, 240
    default_attr :content_width, 'fluid'
    default_attr :spacer, 20

    default_attr :leading_argument_name_fix, false

    default_attr :use_beta_flag, true
    default_attr :use_beta_banner, false

    default_attr :show_footer, true
    default_attr :readme_page_title, 'Home'

    default_attr :resource_index, false
    default_attr :centered, true

    attr_accessor :readme
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
yard-api-1.0.1 lib/yard-api/options.rb
yard-api-1.0.0 lib/yard-api/options.rb
yard-api-0.3.7 lib/yard-api/options.rb
yard-api-0.3.6 lib/yard-api/options.rb
yard-api-0.3.5 lib/yard-api/options.rb
yard-api-0.3.4 lib/yard-api/options.rb