-
Notifications
You must be signed in to change notification settings - Fork 441
HTTP 404 when accessing nested pages in system docs via WEBrick #615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This seems to happen because I've confirmed that removing the |
aycabta
added a commit
to aycabta/rdoc
that referenced
this issue
Jan 25, 2019
RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class or module but it's also uses the replaced name for text page. This causes a bug when text pages are in nesting directory. This commit fixes ruby#615.
aycabta
added a commit
to aycabta/rdoc
that referenced
this issue
Mar 27, 2019
RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class or module but it also uses the replaced name for text page. This causes a bug when text pages are in nesting directory. This commit fixes ruby#615.
aycabta
added a commit
to aycabta/rdoc
that referenced
this issue
Mar 27, 2019
RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class or module but it's also used for the replaced name on text pages. This causes a bug when text pages are in nesting directory. This commit fixes ruby#615.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm struggling to get
ri --server
working properly with the Ruby core documentation on any of my installations. I've tried ruby-doc packages on fresh installations of Debian and Ubuntu with similar results, so I'm moderately confident the issue is global.All the system documentation seems to be installed fine:
ri ruby:
lists all the right pages, and something likeri ruby:syntax/methods
works a treat in a terminal.When I fire up
ri --server
though, and navigate to the "Ruby Documentation" → "methods" page (/ruby/syntax/methods_rdoc.html), I get a 404 response. It's a similar story for any of the pages which are children of "syntax":And in the server log when hopping from the "syntax" page (which works fine) to the "methods" page:
The text was updated successfully, but these errors were encountered: