如何从Ember.js存储库构建和预览最新文档

Ara*_*ras 6 ember.js

我已经克隆了Ember存储库

git clone git://github.com/emberjs/ember.js.git
Run Code Online (Sandbox Code Playgroud)

然后导航到ember.js目录并运行bundle然后我尝试

rake docs:build
Run Code Online (Sandbox Code Playgroud)

我收到这个错误

/home/zooby/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25: warning: redundant nested repeat operator
rake aborted!
Don't know how to build task 'docs:build'
Run Code Online (Sandbox Code Playgroud)

我尝试时遇到类似的错误

rake docs:preview
Run Code Online (Sandbox Code Playgroud)

我错过了什么?如何构建和查看Ember中提供的最新版文档?

baz*_*zel 9

  • 您需要先安装YUIDoc.
  • 然后yuidocsemberjs/docs文件夹运行.
  • 打开emberjs/docs/build/index.html,你就可以开始了.

  • 该命令现在称为`yuidoc`而不是`yuidocs`.在这里查看最新的yuidoc信息:http://yui.github.io/yuidoc/##install (3认同)