File: doc.rake

package info (click to toggle)
nanoc 4.11.23-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,152 kB
  • sloc: ruby: 39,280; sh: 27; makefile: 16
file content (16 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (4)
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