scripts/docs in rvm-0.1.33 vs scripts/docs in rvm-0.1.34
- old
+ new
@@ -36,14 +36,13 @@
rm -rf $rvm_docs_path/$rvm_ruby_string/$rvm_docs_type/
$rvm_scripts_path/log "info" "Generating documentation, be aware that this could take a *long* time, and depends heavily on your system resources..."
$rvm_scripts_path/log "info" "( Errors will be logged to $rvm_log_path/$rvm_ruby_string/docs.error.log )"
if gem list | grep ^hanna >/dev/null 2>&1 ; then
hanna -o $rvm_docs_path/$rvm_ruby_string/$rvm_docs_type --inline-source --line-numbers --fmt=html 2>> $rvm_log_path/$rvm_ruby_string/docs.error.log
- hanna --ri --ri-site -o $rvm_docs_path/$rvm_ruby_string/$rvm_docs_type --inline-source --line-numbers --fmt=html 2>> $rvm_log_path/$rvm_ruby_string/docs.error.log
else
rdoc -a -o $rvm_docs_path/$rvm_ruby_string/$rvm_docs_type 2>> $rvm_log_path/$rvm_ruby_string/docs.error.log
- rdoc -a --ri --ri-site -o $rvm_docs_path/$rvm_ruby_string/$rvm_docs_type 2>> $rvm_log_path/$rvm_ruby_string/docs.error.log
fi
+ rdoc -a --ri-site 2>> $rvm_log_path/$rvm_ruby_string/docs.error.log
}
if [[ "open" = "$action" ]] ; then
open_docs
elif [[ "generate" = "$action" ]] ; then