Browse files

Tell people 2.x is fine.

  • Loading branch information...
1 parent 4171b0e commit 4f8c313bc00074a00a24413a0f5e3c8191e2e8ae @technomancy committed Jun 14, 2012
Showing with 114 additions and 43 deletions.
  1. +2 −3
  2. +112 −40 public/index.html
@@ -1,8 +1,7 @@
-Generate static HTML for
- $ lein run # will place HTML in public/
+Currently the static HTML from the `public/` dir is used, but this
+could be turned into a site generator at some point.
## License
152 public/index.html
@@ -23,7 +23,20 @@
<script src="//"></script>
+ <script src=""></script>
+ <script src="/js/bootstrap-collapse.js"></script>
<link rel="shortcut icon" href="images/favicon.ico">
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-29778100-1']);
+ _gaq.push(['_trackPageview']);
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
@@ -40,90 +53,149 @@
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="index.html">Home</a></li>
- <li><a href="install.html">Install</a></li>
- <li><a href="tutorial.html">Tutorial</a></li>
- <li><a href="configuration.html">Configuration</a></li>
- <li><a href="community.html">Community</a></li>
- <li><a href="reference.html">Reference</a></li>
+ <li><a href="">Tutorial</a></li>
+ <li><a href="">Configuration</a></li>
+ <li><a href="reference.html">API Reference</a></li>
<li><a href="">Source</a></li>
- <li><a href="">Issues</a></li>
</div><!--/.nav-collapse -->
+ <!-- TODO: quit using columns, find new body typeface -->
<div class="container">
<div class="row">
- <div class="span8">
+ <div class="span9">
<small>for automating Clojure projects
- without setting your hair on fire</small> </h1>
+ without setting your hair on fire</small></h1>
- <p id="salespitch">Leiningen is the easiest way to get
+ <p id="salespitch">Leiningen offers the easiest way to get
started with Clojure. With a focus on project automation
and straightforward configuration, it gets out of your way
and lets you focus on your code.</p>
- <pre class="htmlize" id="sample-project"><span class="esk-paren">(</span>defproject <span class="string">"0.1.0-SNAPSHOT"</span>
+ <pre class="htmlize" id="sample-project"><span class="esk-paren">(</span>defproject <span class="string">"1.0.0"</span>
<span class="constant">:description</span> <span class="string">"Generate static HTML for"</span>
<span class="constant">:dependencies</span> [[enlive <span class="string">"1.0.0"</span>]
[cheshire <span class="string">"2.2.0"</span>]
[org.markdownj/markdownj <span class="string">"0.3.0-1.0.2b4"</span>]]
<span class="constant">:main</span> leiningen.web<span class="esk-paren">)</span></pre>
- <p>This site is still a work in progress! Please visit the
- <a href="">Github</a>
- page for complete information while we work on finishing
- it up.</p>
+ <p>We're proud to announce that Leiningen 2.0.0-preview is
+ out! While we haven't quite made it yet to the
+ final 2.0.0 release, the preview covers most everyday
+ tasks and should be ready for projects that aren't using
+ any of the more obscure features.</p>
+ <p>Read <a href="">an
+ overview of what's new</a> and <a href="">upgrade</a>!</p>
- <div class="span4">
+ <div class="span3">
<img src="img/leiningen.jpg" alt="Leiningen">
- <!-- Example row of columns -->
<div class="row">
<div class="span4">
<p>Leiningen might already be available
in <a href="">your
- preferred package manager</a>. If not, it's still easy to install:</p>
+ preferred package manager</a>. If not, or if you want a
+ newer version it's still easy to install the old-fashioned
+ way.</p>
- <li><a href="">Download the script</a></li>
+ <li><a href="">Download the <kbd>lein</kbd> script</a></li>
<li>Place it on your <tt>$PATH</tt> (eg. <tt>~/bin</tt>)</li>
<li>Set it to be executable. (<kbd>chmod 755 ~/bin/lein</kbd>)</li>
- <p><a href="install.html">View details &raquo;</a></p>
+ <p>The link above will get you the 2.x preview release.
+ There is still a lot of extant material on the Web
+ concerning the older
+ <a href="">Leiningen
+ 1.x</a> version, which is still available if you need to work on older
+ projects that aren't compatible with 2.x yet. The
+ <a href="">upgrade
+ guide</a> has instructions on migrating to version 2.</p>
+ <p>On Windows most users can get
+ <a href="">the batch file</a>
+ If you have wget.exe or curl.exe already installed and in PATH, you
+ can just run `lein self-install`, otherwise get the standalone jar from the
+ <a href="">downloads
+ page</a>. If you
+ have <a href="">Cygwin</a> you
+ should be able to use the shell script above rather than
+ the batch file.</p>
+ <p>If you have an older version of Leiningen already
+ installed, you can upgrade to the latest stable version
+ with <kbd>lein upgrade</kbd>, but it will not pull in
+ version 2 until the final release.</p>
- <div class="span4">
- <h2>Tutorial</h2>
- <p>For those of you new to the JVM who have never touched
- Ant or Maven in anger: don't panic. Leiningen is designed
- with you in mind. This tutorial will help you get started
- and explain Leiningen's take on project automation and
- JVM-land dependency management.</p>
- <p><a href="tutorial.html">View details &raquo;</a></p>
- </div>
- <div class="span4">
- <h2>News</h2>
- <ul>
- <li>Leiningen 2.0.0 preview coming soon</li>
- <li>Rewritten <tt>repl</tt> task in 2.0.0</li>
- <li>Survey results published</li>
- <li>Leiningen 1.7.0 released</li>
- <li>Profiles backported to 1.x</li>
- </ul>
- <p><a href="community.html">View details &raquo;</a></p>
+ <div class="span8">
+ <h2>Documentation</h2>
+ <p>The <a href="">tutorial</a>
+ is the best place to start. If you have Leiningen
+ installed, you can read the tutorial by
+ running <kbd>lein help tutorial</kbd>.</p>
+ <p>The <a href="">readme</a>
+ has more details for getting started and is available
+ via <kbd>lein help readme</kbd>. Documentation for each
+ individual task is available via <kbd>lein help
+ $TASK</kbd>. You can also
+ see <a href="">the
+ sample <tt>project.clj</tt> file</a> with a reference of
+ all project settings by running <kbd>lein help
+ sample</kbd>.
+ <p>Other guides include <a href="">writing plugins</a> and
+ <a href="">deploying
+ libraries</a>. There is <a href="">a list of plugins</a>
+ on the wiki. Those interested in
+ using <tt>leiningen-core</tt> as a library should read
+ <a href="reference.html">the API reference</a>.</p>
+ </div>
+ <div class="span8">
+ <h2>Community</h2>
+ <p>Leiningen is the most active open-source Clojure
+ project. We welcome potential contributors and do our
+ best to try to make it easy to help out.</p>
+ <p>Discussion occurs on
+ the <a href="">mailing
+ list</a>
+ and <a href="irc://">in the
+ #leiningen channel on Freenode</a>, while issues should
+ be <a href="">reported
+ on the Github issue tracker</a>.</p>
+ <p>Contributors who have had a single patch accepted may
+ request commit rights on the mailing list or in IRC as
+ well as a free sticker.</p>
- <p>&copy; Phil Hagelberg and contributors 2012. Licensed under
- the <a href="">EPL 1.0</a></p>
+ <p>&copy; 2012 Phil Hagelberg
+ and <a href="">contributors</a>.
+ Licensed under
+ the <a href="">EPL
+ 1.0</a>. See the code
+ for <a href="">this
+ site</a>.</p>
</div> <!-- /container -->

0 comments on commit 4f8c313

Please sign in to comment.