.st file extension for StringTemplate HTML files

Conflicts:
	lib/linguist/samples.json
This commit is contained in:
Paul Chaignon
2014-04-24 10:37:56 +02:00
committed by Arfon Smith
parent cbcbb969d5
commit bb58840c1c
7 changed files with 616 additions and 4 deletions

View File

@@ -0,0 +1,60 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<html>
<head>
$Common_meta()$
<title>
Android API Differences Report
</title>
<body>
<div class="body">
$Header()$
<div class="content">
<h2>Android API Differences Report</h2>
<p>This document details the changes in the Android framework API. It shows
additions, modifications, and removals for packages, classes, methods, and
fields. Each reference to an API change includes a brief description of the
API and an explanation of the change and suggested workaround, where available.</p>
<p>The differences described in this report are based a comparison of the APIs
whose versions are specified in the upper-right corner of this page. It compares a
newer "to" API to an older "from" version, noting any changes relative to the
older API. So, for example, indicated API removals are no longer present in the "to"
API.</p>
<p>For more information about the Android framework API and SDK,
see the <a href="http://code.google.com/android/index.html" target="_top">Android product site</a>.</p>
$if(no_delta)$
<h3>Congratulation!</h3>
No differences were detected between the two provided APIs.
$endif$
$if(removed_packages)$
$Table(name="Removed Packages", rows=removed_packages:{$it.from:ModelElementRow()$})$
<br/>
$endif$
$if(added_packages)$
$Table(name="Added Packages", rows=added_packages:{$it.to:PackageAddedLink()$}:SimpleTableRow())$
<br/>
$endif$
$if(changed_packages)$
$Table(name="Changed Packages", rows=changed_packages:{$it.to:PackageChangedLink()$}:SimpleTableRow())$
<br/>
$endif$
</div>
</div>
</body>
</html>

31
samples/HTML/pages.html Normal file
View File

@@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Related Pages</title>
<link href="qt.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class=header>
<a class=headerLink href="index.html">Main Page</a> &middot;
<a class=headerLink href="classoverview.html">Class Overview</a> &middot;
<a class=headerLink href="hierarchy.html">Hierarchy</a> &middot;
<a class=headerLink href="annotated.html">All Classes</a>
</div>
<!-- Generated by Doxygen 1.8.1.2 -->
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Related Pages</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here is a list of all related documentation pages:</div><div class="directory">
<table class="directory">
<tr id="row_0_" class="even"><td class="entry"><img src="ftv2node.png" alt="o" width="16" height="22" /><a class="el" href="classoverview.html" target="_self">Class Overview</a></td><td class="desc"></td></tr>
<tr id="row_1_"><td class="entry"><img src="ftv2lastnode.png" alt="\" width="16" height="22" /><a class="el" href="thelayoutsystem.html" target="_self">The Layout System</a></td><td class="desc"></td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
<div class="footer" />Generated with <a href="http://www.doxygen.org/index.html">Doxygen</a> 1.8.1.2</div>
</body>
</html>