Actions
Bug #18665
closedTutorial Link for Optionparser is still broken
Files
Actions
Like0
Like0Like0Like0
Added by apatniv (Vivek Ak) about 3 years ago. Updated almost 3 years ago.
Files
Screen Shot 2022-03-27 at 11.15.50 AM.png (229 KB) Screen Shot 2022-03-27 at 11.15.50 AM.png | apatniv (Vivek Ak), 03/27/2022 03:17 PM | ||
Screen Shot 2022-03-27 at 11.15.44 AM.png (553 KB) Screen Shot 2022-03-27 at 11.15.44 AM.png | apatniv (Vivek Ak), 03/27/2022 03:17 PM | ||
Screen Shot 2022-03-27 at 11.15.59 AM.png (229 KB) Screen Shot 2022-03-27 at 11.15.59 AM.png | apatniv (Vivek Ak), 03/27/2022 03:17 PM | ||
Screen Shot 2022-03-27 at 11.15.56 AM.png (553 KB) Screen Shot 2022-03-27 at 11.15.56 AM.png | apatniv (Vivek Ak), 03/27/2022 03:17 PM |
https://docs.ruby-lang.org/en/3.1/OptionParser.html
Points the tutorial link to: https://docs.ruby-lang.org/en/3.1/optparse/tutorial_rdoc.html which doesn't exist.
The reason for this problem is that optparse
is expecting to use the --page-dir
rdoc option, but docs.ruby-lang.org
and ruby-doc.org
do not use --page-dir
. As I mentioned in #18628, I think we should drop all usage of --page-dir
, and fix the documentation to assume that --page-dir
is not used.
Now the links in https://docs.ruby-lang.org/en/master/OptionParser.html should be correct.