Skip to content

Commit

Permalink
Merge "don't use the sdkdoc template if the index file is a preview (…
Browse files Browse the repository at this point in the history
…the features.html doc is no longer used, so removed check for that also)" into gingerbread
  • Loading branch information
scottamain authored and Android (Google) Code Review committed Jan 21, 2011
2 parents 5073877 + 42d1d32 commit 05d14cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/droiddoc/src/DocFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static void writePage(String docfile, String relative,
} else {
if (outfile.indexOf("sdk/") != -1) {
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);
} else {
ClearPage.write(hdf, "docpage.cs", outfile);
Expand Down

0 comments on commit 05d14cb

Please sign in to comment.