8180328: Bad links in footer of all javadoc-generated pages
Reviewed-by: erikj
This commit is contained in:
parent
f7ec0ea64a
commit
62b2c4716c
@ -48,11 +48,8 @@ $(eval $(call IncludeCustomExtension, , Docs.gmk))
|
|||||||
MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \
|
MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) \
|
||||||
$(SUPPORT_OUTPUTDIR)/rmic/* $(JDK_TOPDIR)/src/*/share/doc/stub)
|
$(SUPPORT_OUTPUTDIR)/rmic/* $(JDK_TOPDIR)/src/*/share/doc/stub)
|
||||||
|
|
||||||
# Should we use -Xdocrootparent? Allow custom to overwrite.
|
|
||||||
DOCROOTPARENT_FLAG ?= TRUE
|
|
||||||
|
|
||||||
# URLs
|
# URLs
|
||||||
JAVADOC_BASE_URL := http://www.oracle.com/pls/topic/lookup?ctx=javase9&id=homepage
|
JAVADOC_BASE_URL := http://www.oracle.com/pls/topic/lookup?ctx=javase9&id=homepage
|
||||||
BUG_SUBMIT_URL := http://bugreport.java.com/bugreport/
|
BUG_SUBMIT_URL := http://bugreport.java.com/bugreport/
|
||||||
COPYRIGHT_URL := {@docroot}/../legal/cpyr.html
|
COPYRIGHT_URL := {@docroot}/../legal/cpyr.html
|
||||||
LICENSE_URL := http://www.oracle.com/technetwork/java/javase/terms/license/java9speclicense.html
|
LICENSE_URL := http://www.oracle.com/technetwork/java/javase/terms/license/java9speclicense.html
|
||||||
@ -130,7 +127,7 @@ JAVADOC_BOTTOM := \
|
|||||||
<span style="font-size:smaller"> \
|
<span style="font-size:smaller"> \
|
||||||
<a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a><br> \
|
<a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a><br> \
|
||||||
For further API reference and developer documentation, see \
|
For further API reference and developer documentation, see \
|
||||||
<a href="$(JAVADOC_BASE_URL)/index.html" target="_blank">Java SE \
|
<a href="$(JAVADOC_BASE_URL)" target="_blank">Java SE \
|
||||||
Documentation</a>. That documentation contains more detailed, \
|
Documentation</a>. That documentation contains more detailed, \
|
||||||
developer-targeted descriptions, with conceptual overviews, definitions \
|
developer-targeted descriptions, with conceptual overviews, definitions \
|
||||||
of terms, workarounds, and working code examples.<br> \
|
of terms, workarounds, and working code examples.<br> \
|
||||||
@ -236,10 +233,6 @@ define SetupApiDocsGenerationBody
|
|||||||
$1_OPTIONS += -Xdoclint:all,$$(call CommaList, $$(addprefix -, \
|
$1_OPTIONS += -Xdoclint:all,$$(call CommaList, $$(addprefix -, \
|
||||||
$$(JAVADOC_DISABLED_DOCLINT)))
|
$$(JAVADOC_DISABLED_DOCLINT)))
|
||||||
|
|
||||||
ifeq ($$($$DOCROOTPARENT_FLAG), TRUE)
|
|
||||||
$1_OPTIONS += -Xdocrootparent $$(JAVADOC_BASE_URL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
$1_OPTIONS += -doctitle '$$($1_DOC_TITLE)'
|
$1_OPTIONS += -doctitle '$$($1_DOC_TITLE)'
|
||||||
$1_OPTIONS += -windowtitle '$$($1_WINDOW_TITLE)'
|
$1_OPTIONS += -windowtitle '$$($1_WINDOW_TITLE)'
|
||||||
$1_OPTIONS += -header '$$($1_HEADER_TITLE)'
|
$1_OPTIONS += -header '$$($1_HEADER_TITLE)'
|
||||||
|
Loading…
Reference in New Issue
Block a user