“on Github”发生了什么? Rails API 文档链接?
几个月前,Rails API 文档中有一个功能,可以让您通过单击“在 Github 上”来访问 Github 上的 Rails 源文件。 Ryan Bates 甚至发了推文。这是一个很棒的功能,因为您可以轻松地探索整个文件的源代码,而不仅仅是单个方法。
有谁知道这个功能发生了什么?
A few months ago there was a feature in the Rails API documentation that let you visit the a Rails source file on Github by clicking "on Github". Ryan Bates even tweeted about it. This was a great feature because you could easily explore the source for the entire file instead of just for a single method.
Does anyone know what happened to this feature?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我相信当他们开始在节目中使用 Ajax 时他们就删除了它们。当他们切换到 sdoc 时就发生了这种情况。也许这是 sdoc 的限制,因为每个人似乎都喜欢它。
我建议在谷歌群组上发帖并进行讨论,请求更多信息和/或将它们收回。
您可以在此处找到该论坛。
I believe they removed them when they started using Ajax for the show. This happened when they switched to sdoc. Perhaps its an sdoc limitation, as everyone seemed to enjoy it.
I would recommend posting on the google group and get a discussion going requesting more information and/or getting them back.
You can find the group here.
使用 Rails 源提供的标准 Rdoc Rake 任务生成的 Rails 文档仍然会生成此额外的 github 链接。
rakefile 中仍然有一个标志。
无论是谁生成 API 文档,都必须忽略此标志。
Rails documentation generated from using the standard Rdoc Rake task provided with the rails source still produces this extra link to github.
There's still a flag for it in the rakefile.
Whatever or whoever generates the documentation for the API must be omitting this flag.
看起来 github 链接从 Rails 3.2.0 开始又恢复了!
It looks like the github links are back as of Rails 3.2.0!