Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include files relative to the framework root
The Rails documentation uses the `:include:` directive to inline the README of the framework into the main documentation page. As the README's aren't in the root directory from where SDoc is run we need to add the framework path to the include: # :include: activesupport/README.md This results in a warning when installing the gems as generating the rdoc for the gem is run from the gem/framework root: Couldn't find file to include 'activesupport/README.rdoc' from lib/active_support.rb By Monkeypatching `find_include_file` to find files at the framework root we can include without the framework path: # :include: README.md
- Loading branch information