forked from openkylin/platform_build
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 highlight the Resources tab).
This commit is contained in:
parent
99a25fbaa5
commit
3669072b81
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 ?>
|
||||
<?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>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue