Skip to content

Commit dab72c5

Browse files
committed
Fix links to the page directory files
https://bugs.ruby-lang.org/issues/18468
1 parent d182cd6 commit dab72c5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

doc/optparse/creates_option.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Creates an option from the given parameters +params+.
2-
See {Parameters for New Options}[./doc/optparse/option_params_rdoc.html].
2+
See {Parameters for New Options}[./option_params.rdoc].
33

44
The block, if given, is the handler for the created option.
55
When the option is encountered during command-line parsing,
66
the block is called with the argument given for the option, if any.
7-
See {Option Handlers}[./option_params_rdoc.html#label-Option+Handlers].
7+
See {Option Handlers}[./option_params.rdoc#label-Option+Handlers].

doc/optparse/option_params.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ from the default \String to an instance of another class.
410410
There are a number of built-in converters.
411411
You can also define custom converters.
412412

413-
See {Argument Converters}[./argument_converters_rdoc.html].
413+
See {Argument Converters}[./argument_converters.rdoc].
414414

415415
=== Descriptions
416416

doc/optparse/tutorial.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ Executions:
541541
[#<Date: 2001-02-03 ((2451944j,0s,0n),+0s,2299161j)>, Date]
542542

543543
You can also define custom converters.
544-
See {Argument Converters}[./argument_converters_rdoc.html]
544+
See {Argument Converters}[./argument_converters.rdoc]
545545
for both built-in and custom converters.
546546

547547
=== Help
@@ -657,7 +657,7 @@ Though you may never need to call it directly,
657657
here's the core method for defining an option:
658658

659659
- \Method \OptionParser#make_switch accepts an array of parameters and a block.
660-
See {Parameters for New Options}[./option_params_rdoc.html].
660+
See {Parameters for New Options}[./option_params.rdoc].
661661
This method is unlike others here in that it:
662662
- Accepts an <em>array of parameters</em>;
663663
others accept a <em>sequence of parameter arguments</em>.

lib/optparse.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#
5151
# === New to \OptionParser?
5252
#
53-
# See the {Tutorial}[./doc/optparse/tutorial_rdoc.html].
53+
# See the {Tutorial}[optparse/tutorial.rdoc].
5454
#
5555
# === Introduction
5656
#
@@ -420,7 +420,7 @@
420420
# === Further documentation
421421
#
422422
# The above examples, along with the accompanying
423-
# {Tutorial}[./doc/optparse/tutorial_rdoc.html],
423+
# {Tutorial}[optparse/tutorial.rdoc],
424424
# should be enough to learn how to use this class.
425425
# If you have any questions, file a ticket at http://bugs.ruby-lang.org.
426426
#

0 commit comments

Comments
 (0)