am 29bec3f7: am 7e680c89: Merge "docs: make the Resources docs use the same clearsilver template as the Dev Guide. This removes the custom resourcespage.cs file and routes resources pages to use docpage.cs, while still setting the resource hdf flag true (in order to h

Merge commit '29bec3f707401630e6ad93dcaa3e9a620f0d9bbb'

* commit '29bec3f707401630e6ad93dcaa3e9a620f0d9bbb':
  docs: make the Resources docs use the same clearsilver template
This commit is contained in:
Scott Main 2010-01-12 13:11:58 -08:00 committed by Android Git Automerger
commit 685e9f3ec3
2 changed files with 1 additions and 37 deletions

View File

@ -139,7 +139,7 @@ public class DocFile
ClearPage.write(hdf, "docpage.cs", outfile);
} else if (outfile.indexOf("resources/") != -1) {
hdf.setValue("resources", "true");
ClearPage.write(hdf, "resourcespage.cs", outfile);
ClearPage.write(hdf, "docpage.cs", outfile);
} else {
ClearPage.write(hdf, "nosidenavpage.cs", outfile);
}

View File

@ -1,36 +0,0 @@
<?cs include:"doctype.cs" ?>
<?cs include:"macros.cs" ?>
<html>
<?cs include:"head_tag.cs" ?>
<body class="gc-documentation">
<?cs call:custom_masthead() ?>
<?cs call:resources_tab_nav() ?>
<a name="top"></a>
<div class="g-unit" id="doc-content" >
<div id="jd-header" class="guide-header">
<span class="crumb">
<?cs if:parent.link ?>
<a href="<?cs var:parent.link ?>"><?cs var:parent.title ?></a> >
<?cs else ?>&nbsp;
<?cs /if ?>
</span>
<h1><?cs var:page.title ?></h1>
</div>
<div id="jd-content">
<?cs call:tag_list(root.descr) ?>
<?cs include:"footer.cs" ?>
</div><!-- end doc-content -->
<?cs include:"trailer.cs" ?>
</body>
</html>