File: doc.rake

package info (click to toggle)
nanoc 4.14.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,588 kB
  • sloc: ruby: 41,753; sh: 31; makefile: 15
file content (16 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'yard'

YARD::Rake::YardocTask.new(:doc) do |yard|
  yard.files   = Dir['lib/**/*.rb'].sort
  yard.options = [
    '--markup',          'markdown',
    '--markup-provider', 'kramdown',
    '--charset',         'utf-8',
    '--readme',          'README.md',
    '--files',           'NEWS.md,LICENSE',
    '--output-dir',      'doc/yardoc',
#    '--template-path',   'doc/yardoc_templates',
#    '--load',            'doc/yardoc_handlers/identifier.rb',
    '--query',           '@api.text != "private"'
  ]
end