Link to stable documentation instead of master.
This commit is contained in:
parent
b44bd14118
commit
11d81c9092
2 changed files with 8 additions and 8 deletions
|
@ -44,7 +44,7 @@ and use self-install.
|
|||
## Usage
|
||||
|
||||
The
|
||||
[tutorial](http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md)
|
||||
[tutorial](http://github.com/technomancy/leiningen/blob/stable/TUTORIAL.md)
|
||||
has a detailed walk-through of the steps involved in creating a new
|
||||
project, but here are the commonly-used tasks:
|
||||
|
||||
|
@ -89,7 +89,7 @@ Place a <tt>project.clj</tt> file in the project root like this:
|
|||
|
||||
The <tt>lein new</tt> task generates a project skeleton with an
|
||||
appropriate starting point from which you can work. See the
|
||||
[sample.project.clj](http://github.com/technomancy/leiningen/blob/master/sample.project.clj)
|
||||
[sample.project.clj](http://github.com/technomancy/leiningen/blob/stable/sample.project.clj)
|
||||
file for a detailed listing of configuration options.
|
||||
|
||||
You can also have user-level configuration that applies for all
|
||||
|
@ -136,7 +136,7 @@ See the plugin task's help for more information.
|
|||
|
||||
**Q:** What's a group ID? How do snapshots work?
|
||||
**A:** See the
|
||||
[tutorial](http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md)
|
||||
[tutorial](http://github.com/technomancy/leiningen/blob/stable/TUTORIAL.md)
|
||||
for background.
|
||||
|
||||
**Q:** How should I pick my version numbers?
|
||||
|
@ -159,7 +159,7 @@ See the plugin task's help for more information.
|
|||
**Q:** How do I write my own tasks?
|
||||
**A:** If it's a task that may be useful to more than just your
|
||||
project, you should make it into a
|
||||
[plugin](http://github.com/technomancy/leiningen/blob/master/PLUGINS.md).
|
||||
[plugin](http://github.com/technomancy/leiningen/blob/stable/PLUGINS.md).
|
||||
You can also include one-off tasks in your src/leiningen/ directory
|
||||
if they're not worth spinning off; the plugin guide shows how.
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ project building and JVM-land dependency management.
|
|||
## Creating a Project
|
||||
|
||||
We'll assume you've got Leiningen installed as per the
|
||||
[README](http://github.com/technomancy/leiningen/blob/master/README.md).
|
||||
[README](http://github.com/technomancy/leiningen/blob/stable/README.md).
|
||||
Generating a new project is easy:
|
||||
|
||||
$ lein new myproject
|
||||
|
@ -148,7 +148,7 @@ Dependencies are downloaded from Clojars, the central Maven (Java)
|
|||
repository, the [official Clojure build
|
||||
server](http://build.clojure.org), and any other repositories that you
|
||||
add to your project.clj file. See :repositories in
|
||||
[sample.project.clj](http://github.com/technomancy/leiningen/blob/master/sample.project.clj).
|
||||
[sample.project.clj](http://github.com/technomancy/leiningen/blob/stable/sample.project.clj).
|
||||
|
||||
If you've confirmed that your project will work with a number of
|
||||
different versions of a given dependency, you can provide a range
|
||||
|
@ -242,7 +242,7 @@ If you're lucky you'll be able to get away without doing any AOT
|
|||
that require it, so if you need to use them you should add an :aot
|
||||
option into your project.clj file. It should be a seq of namespaces
|
||||
you want AOT-compiled. Again, the
|
||||
[sample.project.clj](http://github.com/technomancy/leiningen/blob/master/sample.project.clj)
|
||||
[sample.project.clj](http://github.com/technomancy/leiningen/blob/stable/sample.project.clj)
|
||||
has example usage.
|
||||
|
||||
Like dependencies, this should happen for you automatically when
|
||||
|
@ -371,7 +371,7 @@ wrapper template instead of the default. The <tt>format</tt> function
|
|||
is called with the contents of this file along with the necessary
|
||||
classpath and the main namespace, so put %s in the right place. See
|
||||
[the default
|
||||
wrapper](http://github.com/technomancy/leiningen/blob/master/resources/script-template)
|
||||
wrapper](http://github.com/technomancy/leiningen/blob/stable/resources/script-template)
|
||||
for an example.
|
||||
|
||||
### Publishing
|
||||
|
|
Loading…
Reference in a new issue