Skip to content
This repository was archived by the owner on Nov 22, 2019. It is now read-only.

Commit 47dc0d1

Browse files
committed
first commit
0 parents  commit 47dc0d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+10210
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

.htaccess

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<ifModule mod_deflate.c>
2+
<filesMatch "\.(js|css|html)$">
3+
SetOutputFilter DEFLATE
4+
</filesMatch>
5+
</ifModule>

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Responsive
2+
==========
3+
4+
`Responsive` is a responsive, frameless template making use of progressive
5+
enhancement to change the way you look at API Documentation.
6+
7+
Enough buzzwords? We might not be done yet!
8+
9+
TODO
10+
----
11+
12+
* Add function contents
13+
* Add constant contents
14+
* Hide packages if there are no documentable elements that have that package
15+
* Give each package/namespace a generated diagram showing local elements.
16+
* Introduce a switch or tabs to generate documentation using the short descriptions
17+
instead of the actual names
18+
* Improve search to do a site wide search
19+
* Long class names fall of the grid; tried fixing this with elipsis but it won't
20+
do the job as elegantly
21+
* Add sourcecode view
22+
* Improve this README by giving a better introduction and describing all options
23+
* Improve the glass graph to have a nice viewer
24+
* Make template more friendly for extendability

class.xsl

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2+
<xsl:output indent="yes" method="html" />
3+
<xsl:include href="layout.xsl" />
4+
<xsl:include href="elements/common.xsl" />
5+
<xsl:include href="elements/function.xsl" />
6+
<xsl:include href="elements/constant.xsl" />
7+
<xsl:include href="elements/property.xsl" />
8+
<xsl:include href="elements/class.xsl" />
9+
10+
<!-- Body text that is inserted into the layout -->
11+
<xsl:template match="/project" mode="contents">
12+
<xsl:variable
13+
name="element"
14+
select="/project/file/class[full_name=$full_name]|/project/file/interface[full_name=$full_name]"
15+
/>
16+
17+
<div class="row">
18+
<div class="span4"><xsl:apply-templates select="$element" mode="sidebar" /></div>
19+
<div class="span8"><xsl:apply-templates select="$element" mode="contents"/></div>
20+
</div>
21+
</xsl:template>
22+
23+
<xsl:template match="/" mode="title">
24+
<xsl:text> &#187; </xsl:text>
25+
<xsl:value-of select="$full_name" />
26+
</xsl:template>
27+
28+
</xsl:stylesheet>

0 commit comments

Comments
 (0)