Use relative html for links to other parts of the doc.
Change-Id: I8fd85b08bfedb2e5157d3d805cee0348959db0ff
diff --git a/api/Specification.cpp b/api/Specification.cpp
index fbbbc21..6fd115c 100644
--- a/api/Specification.cpp
+++ b/api/Specification.cpp
@@ -50,8 +50,6 @@
const int NUM_TYPES = sizeof(TYPES) / sizeof(TYPES[0]);
-const char BASE_URL[] = "http://developer.android.com/reference/android/graphics/drawable/";
-
// The singleton of the collected information of all the spec files.
SystemSpecification systemSpecification;
@@ -632,9 +630,7 @@
// The header file name should have the same base but with a ".rsh" extension.
mHeaderFileName = core + ".rsh";
-
- mDetailedDocumentationUrl = BASE_URL;
- mDetailedDocumentationUrl += core + ".html";
+ mDetailedDocumentationUrl = core + ".html";
}
void SpecFile::addConstantSpecification(ConstantSpecification* spec, bool hasDocumentation) {