Closed p8 closed 6 months ago
Name | Link |
---|---|
Latest commit | 8d18c1e9e2dc731989a729bb8dc27cc22e5110b5 |
Latest deploy log | https://app.netlify.com/sites/sdoc/deploys/65a7cbf2d72b6e0008eccfed |
Closing in favor of the much cleaner https://github.com/rails/rails/pull/50789 This also makes sure SDoc works as expected for other gems.
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:This results in a warning when installing the gems as generating the rdoc for the gem is run from the gem/framework root:
By Monkeypatching
find_include_file
to find files at the framework root we can include without the framework path:Fixes: https://github.com/rails/rails/issues/49524