don't use the sdkdoc template if the index file is a preview
(the features.html doc is no longer used, so removed check for that also) Change-Id: I1985b2e48060337030df53c19051ea363cb3b700
This commit is contained in:
@@ -129,7 +129,7 @@ public class DocFile
|
|||||||
} else {
|
} else {
|
||||||
if (outfile.indexOf("sdk/") != -1) {
|
if (outfile.indexOf("sdk/") != -1) {
|
||||||
hdf.setValue("sdk", "true");
|
hdf.setValue("sdk", "true");
|
||||||
if ((outfile.indexOf("index.html") != -1) || (outfile.indexOf("features.html") != -1)) {
|
if ((outfile.indexOf("index.html") != -1) && (outfile.indexOf("preview/") == -1)) {
|
||||||
ClearPage.write(hdf, "sdkpage.cs", outfile);
|
ClearPage.write(hdf, "sdkpage.cs", outfile);
|
||||||
} else {
|
} else {
|
||||||
ClearPage.write(hdf, "docpage.cs", outfile);
|
ClearPage.write(hdf, "docpage.cs", outfile);
|
||||||
|
Reference in New Issue
Block a user