Skip to content

Commit 2c5bdfd

Browse files
committed
Update Rake task for generating docs to different dir and fix documentation
1 parent 5f7d136 commit 2c5bdfd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ task :docs => 'docs:yard'
3636
namespace :docs do
3737
desc "Generate yard documention"
3838
task :yard do
39-
out = File.join('docs', Mongo::VERSION)
39+
out = File.join('yard-docs', Mongo::VERSION)
4040
FileUtils.rm_rf(out)
4141
system "yardoc -o #{out} --title mongo-#{Mongo::VERSION}"
4242
end

lib/mongo/grid/file/chunk.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ def assemble(chunks)
162162
# @example Split the data into chunks.
163163
# Chunks.split(data)
164164
#
165-
# @param [ String, IO ] data The raw bytes.
165+
# @param [ String, IO ] io The raw bytes.
166166
# @param [ File::Info ] file_info The files collection file doc.
167+
# @param [ Integer ] offset The offset.
167168
#
168169
# @return [ Array<Chunk> ] The chunks of the data.
169170
#

0 commit comments

Comments
 (0)