Skip to content

Commit 82f9819

Browse files
8294536: Update troff form of man page for new --spec-base-url option
Reviewed-by: hannesw
1 parent b49bdae commit 82f9819

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Diff for: src/jdk.javadoc/share/man/javadoc.1

+9
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,15 @@ Specifies the number of spaces each tab uses in the source.
11391139
.RS
11401140
.RE
11411141
.TP
1142+
.B \f[CB]\-\-spec\-base\-url\f[R] \f[I]url\f[R]
1143+
Specifies the base URL for relative URLs in \f[CB]\@spec\f[R] tags, to be
1144+
used when generating links to any external specifications.
1145+
It can either be an absolute URL, or a relative URL, in which case it is
1146+
evaluated relative to the base directory of the generated output files.
1147+
The default value is equivalent to \f[CB]{\@docRoot}/../specs\f[R].
1148+
.RS
1149+
.RE
1150+
.TP
11421151
.B \f[CB]\-splitindex\f[R]
11431152
Splits the index file into multiple files, alphabetically, one file per
11441153
letter, plus a file for any index entries that start with

Diff for: test/langtools/jdk/javadoc/tool/CheckManPageOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void main(String... args) throws Exception {
6666

6767
static final PrintStream out = System.err;
6868

69-
List<String> MISSING_IN_MAN_PAGE = List.of("--spec-base-url");
69+
List<String> MISSING_IN_MAN_PAGE = List.of();
7070

7171
void run(String... args) throws Exception {
7272
var file = args.length == 0 ? findDefaultFile() : Path.of(args[0]);

0 commit comments

Comments
 (0)