From 3de0dcba787f036a3c2c07be4689ce71037cc263 Mon Sep 17 00:00:00 2001 From: Jonathan Gibbons Date: Wed, 21 Apr 2021 04:36:37 +0000 Subject: [PATCH] =?UTF-8?q?8265483:=20All-caps=20=E2=80=9CJAVA=E2=80=9D=20?= =?UTF-8?q?in=20the=20top=20navigation=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: iris, erikj --- make/Docs.gmk | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/make/Docs.gmk b/make/Docs.gmk index 83ffe2e4df5..612880df2f8 100644 --- a/make/Docs.gmk +++ b/make/Docs.gmk @@ -154,13 +154,14 @@ COPYRIGHT_BOTTOM = \ documentation redistribution policy. \ $(DRAFT_MARKER_STR) -JAVADOC_BOTTOM := \ +# $1 - Optional "Other Versions" link +JAVADOC_BOTTOM = \ Report a bug or suggest an enhancement
\ For further API reference and developer documentation see the \ Java SE \ Documentation, which contains more detailed, \ developer-targeted descriptions with conceptual overviews, definitions \ - of terms, workarounds, and working code examples.
\ + of terms, workarounds, and working code examples. $1
\ Java is a trademark or registered trademark of $(FULL_COMPANY_NAME) in \ the US and other countries.
\ $(call COPYRIGHT_BOTTOM, {@docroot}/../) @@ -300,22 +301,21 @@ define SetupApiDocsGenerationBody $1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$(addprefix -, \ $$(JAVADOC_DISABLED_DOCLINT_PACKAGES))) - ifneq ($$($1_OTHER_VERSIONS), ) - $1_LINKED_SHORT_NAME = $$($1_SHORT_NAME) - else - $1_LINKED_SHORT_NAME = $$($1_SHORT_NAME) - endif - $1_DOC_TITLE := $$($1_LONG_NAME)
Version $$(VERSION_SPECIFICATION) API \ Specification $1_WINDOW_TITLE := $$(subst &,&,$$($1_SHORT_NAME))$$(DRAFT_MARKER_TITLE) - $1_HEADER_TITLE :=
$$($1_LINKED_SHORT_NAME) \ + $1_HEADER_TITLE :=
$$($1_SHORT_NAME) \ $$(DRAFT_MARKER_STR)
+ ifneq ($$($1_OTHER_VERSIONS), ) + $1_JAVADOC_BOTTOM := $$(call JAVADOC_BOTTOM, Other versions.) + else + $1_JAVADOC_BOTTOM := $$(call JAVADOC_BOTTOM, ) + endif $1_OPTIONS += -doctitle '$$($1_DOC_TITLE)' $1_OPTIONS += -windowtitle '$$($1_WINDOW_TITLE)' $1_OPTIONS += -header '$$($1_HEADER_TITLE)' - $1_OPTIONS += -bottom '$$(JAVADOC_BOTTOM)' + $1_OPTIONS += -bottom '$$($1_JAVADOC_BOTTOM)' ifeq ($$(IS_DRAFT), true) $1_OPTIONS += -top '$$(JAVADOC_TOP)' endif