-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version explicit links to api.rubyonrails.org
Similar to ffcaf81, this uses postprocessing to version explicit links to api.rubyonrails.org. For example, if `ENV["HORO_PROJECT_VERSION"]` is "3.2.1" (and `ENV["HORO_PROJECT_NAME"]` is "Ruby on Rails"), then ```html <a href="https://api.rubyonrails.org/classes/ActiveRecord/Base.html">Learn more</a> ``` will be changed to ```html <a href="https://api.rubyonrails.org/v3.2.1/classes/ActiveRecord/Base.html">Learn more</a> ``` This allows such URLs to be used in `README.rdoc` files instead of using `link:classes/ActiveRecord/Base.html`, which is not properly resolved when the link is rendered on e.g. GitHub.
- Loading branch information
1 parent
aa00bf0
commit 87683a1
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters