diff options
author | Scott Main <smain@google.com> | 2011-02-16 12:02:59 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-02-16 12:02:59 -0800 |
commit | 7f7b70619df7e80748e34ad893ec15454a3587ef (patch) | |
tree | 7e0418e71e5906634c97d77ba1203482961018e8 | |
parent | d6b413a904fb7238299bb1217f299ddf4a692493 (diff) | |
parent | 826d03213faa02820f7fcff0b397a8cfbf00b547 (diff) | |
download | build-7f7b70619df7e80748e34ad893ec15454a3587ef.zip build-7f7b70619df7e80748e34ad893ec15454a3587ef.tar.gz build-7f7b70619df7e80748e34ad893ec15454a3587ef.tar.bz2 |
am 826d0321: am c438082f: docs: add sampleindex file for droiddoc to customize the breadcrumbs
* commit '826d03213faa02820f7fcff0b397a8cfbf00b547':
docs: add sampleindex file for droiddoc to customize the breadcrumbs
-rw-r--r-- | tools/droiddoc/templates-sdk/sampleindex.cs | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/sampleindex.cs b/tools/droiddoc/templates-sdk/sampleindex.cs new file mode 100644 index 0000000..81ba68c --- /dev/null +++ b/tools/droiddoc/templates-sdk/sampleindex.cs @@ -0,0 +1,53 @@ +<?cs include:"doctype.cs" ?> +<?cs include:"macros.cs" ?> +<?cs set:resources="true" ?> +<html> +<?cs include:"head_tag.cs" ?> +<?cs include:"header.cs" ?> +<body class="gc-documentation"> + + +<a name="top"></a> +<div class="g-unit" id="doc-content"> + <div id="jd-header" class="guide-header"> + <span class="crumb"> + <a href="<?cs var:toroot ?>resources/browser.html?tag=sample">Sample Code</a> > + </span> + <h1><?cs var:page.title ?></h1> + </div> + +<div id="jd-content"> +<p><a href="../index.html">← Back</a></p> + +<?cs var:summary ?> + + <?cs if:subcount(subdirs) ?> + <h2>Subdirectories</h2> + <ul class="nolist"> + <?cs each:dir=subdirs ?> + <li><a href="<?cs var:dir.name ?>/index.html"><?cs + var:dir.name ?>/</a></li> + <?cs /each ?> + </ul> + <?cs /if ?> + + <?cs if:subcount(files) ?> + <h2>Files</h2> + <ul class="nolist"> + <?cs each:file=files ?> + <li><a href="<?cs var:file.href ?>"><?cs + var:file.name ?></a></li> + <?cs /each ?> + </ul> + <?cs /if ?> + +</div><!-- end jd-content --> + +<?cs include:"footer.cs" ?> + +</div><!-- end doc-content --> + +<?cs include:"trailer.cs" ?> + +</body> +</html> |