replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)
am: dde8deb950
Change-Id: Ide293756b6b7a75a434ff9ed3cf15cd40fbd3452
This commit is contained in:
@@ -897,7 +897,7 @@ sample_groups := -samplegroup Admin \
|
||||
|
||||
## SDK version identifiers used in the published docs
|
||||
# major[.minor] version for current SDK. (full releases only)
|
||||
framework_docs_SDK_VERSION:=6.0
|
||||
framework_docs_SDK_VERSION:=7.0
|
||||
# release version (ie "Release x") (full releases only)
|
||||
framework_docs_SDK_REL_ID:=1
|
||||
|
||||
@@ -906,7 +906,7 @@ framework_docs_LOCAL_DROIDDOC_OPTIONS += \
|
||||
-hdf sdk.preview.version 5 \
|
||||
-hdf sdk.version $(framework_docs_SDK_VERSION) \
|
||||
-hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \
|
||||
-hdf sdk.preview 1
|
||||
-hdf sdk.preview 0
|
||||
|
||||
# ==== the api stubs and current.xml ===========================
|
||||
include $(CLEAR_VARS)
|
||||
@@ -1101,13 +1101,13 @@ LOCAL_DROIDDOC_OPTIONS:=\
|
||||
-hdf android.whichdoc offline \
|
||||
-referenceonly
|
||||
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk
|
||||
LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk-dev
|
||||
|
||||
include $(BUILD_DROIDDOC)
|
||||
|
||||
static_doc_index_redirect := $(out_dir)/index.html
|
||||
$(static_doc_index_redirect): \
|
||||
$(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP)
|
||||
$(LOCAL_PATH)/docs/docs-documentation-redirect.html | $(ACP)
|
||||
$(hide) mkdir -p $(dir $@)
|
||||
$(hide) $(ACP) $< $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user