Skip to content

Commit

Permalink
Support for multiple versions of the template & add java API info to
Browse files Browse the repository at this point in the history
Clojure template
  • Loading branch information
tomfaulhaber committed Apr 1, 2014
1 parent 4f2c1c1 commit a75d9e1
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 83 deletions.
40 changes: 40 additions & 0 deletions params/clojure/old-templates/description.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<h3>Important Clojure resources</h3>
<ul>
<li>The official source code for clojure is on the
<a href="http://github.com/clojure/clojure/">
Clojure GitHub source page
</a>.
</li>
<li>Issues related to clojure and the various pieces of functionality
within it are discussed in the
<a href="http://groups.google.com/group/clojure">
Clojure Google group
</a>.
</li>
<li>Discussions among clojure developers take place in the
<a href="http://groups.google.com/group/clojure-dev">
Clojure Dev Google group
</a>.
</li>
<li>Development planning, design, and documentation happen in
<a href="http://dev.clojure.org">
the Confluence Clojure space
</a>.
</li>
<li>Issue tracking happens on the
<a href="http://dev.clojure.org/jira/browse/CLJ">
the Clojure JIRA site
</a>.
</li>
<li>This documentation is maintained in the gh-pages branch of clojure
on GitHub and is always available online
<a href="http://clojure.github.com/clojure">
GitHub pages for Clojure
</a>.
If you wish to have a version for off-line use you can use the download
button on the
<a href="http://github.com/clojure/clojure/tree/gh-pages">
gh-pages branch page at GitHub
</a>.
</li>
</ul>
27 changes: 19 additions & 8 deletions params/clojure/params.clj
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,49 @@
"clojure.java.shell", "clojure.data", "clojure.reflect"
"clojure.edn", "clojure.instant", ],

:branches [{:name "clojure-1.5.0"
:version "v1.5"
:branches [{:name "clojure-1.6.0"
:version "v1.6"
:status "stable"
:params {:dependencies [['org.codehaus.jsr166-mirror/jsr166y "1.7.0"]],
:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar"}},
{:name "master"
:version "v1.6"
:version "v1.7"
:status "in development"
:params {:dependencies [['org.codehaus.jsr166-mirror/jsr166y "1.7.0"]],
:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar"}},
{:name "clojure-1.5.0"
:version "v1.5"
:status "stable"
:params {:dependencies [['org.codehaus.jsr166-mirror/jsr166y "1.7.0"]],
:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar",
:template-dir "old-templates"}},
{:name "clojure-1.4.0"
:version "v1.4"
:status "stable"
:status "legacy"
:params {:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar"}}
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar",
:template-dir "old-templates"}},
{:name "1.3.x"
:version "v1.3"
:status "legacy"
:params {:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar"}},
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure.jar",
:template-dir "old-templates"}},
{:name "1.2.x"
:version "v1.2"
:status "legacy"
:params {:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure-slim.jar"}},
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure-slim.jar",
:template-dir "old-templates"}},
{:name "1.1.x"
:version "v1.1"
:status "legacy"
:params {:built-clojure-jar
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure-slim.jar"}}],
"/home/tom/src/clj/autodoc-work-area/clojure/src/clojure-slim.jar",
:template-dir "old-templates"}}],
:load-except-list
[
#"clojure/core.clj"
Expand Down
19 changes: 11 additions & 8 deletions params/clojure/templates/description.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ <h3>Important Clojure resources</h3>
Clojure GitHub source page
</a>.
</li>
<li>Issues related to clojure and the various pieces of functionality
<li>Clojure provides a Java API for invoking Clojure from Java. You can browse the javadoc for the API at
<a href="http://clojure.github.io/clojure/javadoc">http://clojure.github.io/clojure/javadoc</a>.
</li>
<li>Issues related to Clojure and the various pieces of functionality
within it are discussed in the
<a href="http://groups.google.com/group/clojure">
Clojure Google group
</a>.
</li>
<li>Discussions among clojure developers take place in the
<li>Discussions among Clojure developers take place in the
<a href="http://groups.google.com/group/clojure-dev">
Clojure Dev Google group
</a>.
</li>
<li>Development planning, design, and documentation happen in
<li>Development planning, design, and documentation happen in
<a href="http://dev.clojure.org">
the Confluence Clojure space
</a>.
Expand All @@ -26,13 +29,13 @@ <h3>Important Clojure resources</h3>
the Clojure JIRA site
</a>.
</li>
<li>This documentation is maintained in the gh-pages branch of clojure
on GitHub and is always available online
<li>This documentation is maintained in the gh-pages branch of Clojure
on GitHub and is always available online
<a href="http://clojure.github.com/clojure">
GitHub pages for Clojure
</a>.
If you wish to have a version for off-line use you can use the download
button on the
</a>.
If you wish to have a version for off-line use you can use the download
button on the
<a href="http://github.com/clojure/clojure/tree/gh-pages">
gh-pages branch page at GitHub
</a>.
Expand Down
1 change: 1 addition & 0 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
:url "http://github.com/tomfaulhaber/autodoc"
:main autodoc.autodoc
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/core.memoize "0.5.6"]
[org.clojure/data.json "0.1.1"]
[org.clojure/data.zip "0.1.0"]
[org.clojure/tools.namespace "0.1.0"]
Expand Down
Loading

0 comments on commit a75d9e1

Please sign in to comment.