[英]When does Rails generate a readme.md (as opposed to a readme.rdoc)?
I noticed that when I generate a new rails app sometimes I end up with a readme.md and sometimes with a readme.rdoc (which Bitbucket doesnt automatically render apparentely). 我注意到,当我生成一个新的Rails应用程序时,有时我会遇到一个readme.md,有时甚至是一个readme.rdoc(Bitbucket显然不会自动呈现)。
If you've got any ideas about that, please let me know. 如果您对此有任何想法,请告诉我。
Running rails new
with Rails 4 (or Rails 3 ) generates README.rdoc
, while running it with Rails 5 creates README.md
. 在Rails 4 (或Rails 3 )上运行
rails new
的Rails会生成README.rdoc
,而在Rails 5上运行它会创建README.md
。
This is listed in the notable changes section of the Rails 5.0 release notes: 这在Rails 5.0发行说明的显着更改部分中列出:
- Newly generated applications and plugins get a README.md in Markdown.
新生成的应用程序和插件在Markdown中获得了README.md。 ( commit , Pull Request )
( commit , Pull Request )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.