minor: reorganized yardocs. starting to move tutorial and other docs to this repo.
This commit is contained in:
parent
bc6e3b137a
commit
980b68d7a1
2
Rakefile
2
Rakefile
|
@ -169,7 +169,7 @@ task :ydoc do
|
|||
require File.join(File.dirname(__FILE__), 'lib', 'mongo')
|
||||
out = File.join('ydoc', Mongo::VERSION)
|
||||
FileUtils.rm_rf('ydoc')
|
||||
system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e docs/yard_ext.rb -p docs/templates -o #{out} --title MongoRuby-#{Mongo::VERSION}"
|
||||
system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e yard/yard_ext.rb -p yard/templates -o #{out} --title MongoRuby-#{Mongo::VERSION} --files docs/TUTORIAL.md,docs/1.0_UPGRADE.md"
|
||||
end
|
||||
|
||||
namespace :gem do
|
||||
|
|
|
@ -17,5 +17,5 @@ collections, you should drop the current index and replace with a unique one. Be
|
|||
make sure that index doesn't exist; no need to go through process unnecessarily.
|
||||
If you do need to create the index, once you have the chunks collection, here are the commands you can run:
|
||||
|
||||
@chunks.drop_index('files_id_1_n_1')
|
||||
@chunks.create_index([['files_id', Mongo::ASCENDING], ['n', Mongo::ASCENDING]], :unique => true)
|
||||
@chunks.drop_index('files_id_1_n_1')
|
||||
@chunks.create_index([['files_id', Mongo::ASCENDING], ['n', Mongo::ASCENDING]], :unique => true)
|
Loading…
Reference in New Issue