Skip to content

Commit a57f04a

Browse files
committed
Exclude tests from documentation
1 parent a64edb3 commit a57f04a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Rakefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ namespace :yard do
1616
'-',
1717
'COPYING',
1818
'HACKING',
19-
'THIRD-PARTY.md'
19+
'LICENSE',
20+
'CONTRIBUTING.md',
2021
]
2122
yard_options = [
2223
# include documentation for protected methods for developers extending the code.
23-
'--protected'
24+
'--protected',
25+
# Don't bother with files meant to be examples
26+
'--exclude', 'samples/',
27+
'--exclude', '\.ut\.rb/',
28+
'--exclude', '\.ts\.rb/',
2429
]
2530

2631
YARD::Rake::YardocTask.new(:doc) do |t|

0 commit comments

Comments
 (0)