mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 16:31:11 +00:00
update docs to 0.1.0
This commit is contained in:
parent
d4a4949ad0
commit
c56094cce3
3 changed files with 12 additions and 11 deletions
10
README.md
10
README.md
|
|
@ -23,16 +23,16 @@ See the [full documentation](https://metosin.github.io/reitit/) for details.
|
||||||
All bundled:
|
All bundled:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
[metosin/reitit "0.1.0-SNAPSHOT"]
|
[metosin/reitit "0.1.0"]
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally, the parts can be required separately:
|
Optionally, the parts can be required separately:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
[metosin/reitit-core "0.1.0-SNAPSHOT"] ; routing core
|
[metosin/reitit-core "0.1.0"] ; routing core
|
||||||
[metosin/reitit-ring "0.1.0-SNAPSHOT"] ; ring-router
|
[metosin/reitit-ring "0.1.0"] ; ring-router
|
||||||
[metosin/reitit-spec "0.1.0-SNAPSHOT"] ; spec coercion
|
[metosin/reitit-spec "0.1.0"] ; spec coercion
|
||||||
[metosin/reitit-schema "0.1.0-SNAPSHOT"] ; schema coercion
|
[metosin/reitit-schema "0.1.0"] ; schema coercion
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,16 @@ The following higher-level routers are also available as separate modules:
|
||||||
To use Reitit, add the following dependecy to your project:
|
To use Reitit, add the following dependecy to your project:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
[metosin/reitit "0.1.0-SNAPSHOT"]
|
[metosin/reitit "0.1.0"]
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally, the parts can be required separately:
|
Optionally, the parts can be required separately:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
[metosin/reitit-core "0.1.0-SNAPSHOT"] ; routing core
|
[metosin/reitit-core "0.1.0"] ; routing core
|
||||||
[metosin/reitit-ring "0.1.0-SNAPSHOT"] ; ring-router
|
[metosin/reitit-ring "0.1.0"] ; ring-router
|
||||||
[metosin/reitit-spec "0.1.0-SNAPSHOT"] ; spec coercion
|
[metosin/reitit-spec "0.1.0"] ; spec coercion
|
||||||
[metosin/reitit-schema "0.1.0-SNAPSHOT"] ; schema coercion
|
[metosin/reitit-schema "0.1.0"] ; schema coercion
|
||||||
```
|
```
|
||||||
|
|
||||||
For discussions, there is a [#reitit](https://clojurians.slack.com/messages/reitit/) channel in [Clojurians slack](http://clojurians.net/).
|
For discussions, there is a [#reitit](https://clojurians.slack.com/messages/reitit/) channel in [Clojurians slack](http://clojurians.net/).
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@ ext="sedbak$$"
|
||||||
|
|
||||||
find . -name project.clj -exec sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" '{}' \;
|
find . -name project.clj -exec sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" '{}' \;
|
||||||
find . -name project.clj -exec sed -i.$ext "s/defproject metosin\/reitit\(.*\) \".*\"/defproject metosin\/reitit\1 \"$1\"/g" '{}' \;
|
find . -name project.clj -exec sed -i.$ext "s/defproject metosin\/reitit\(.*\) \".*\"/defproject metosin\/reitit\1 \"$1\"/g" '{}' \;
|
||||||
find . -name *.md -exec sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" '{}' \;
|
sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" doc/*.md
|
||||||
|
sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" *.md
|
||||||
find . -name "*.$ext" -exec rm '{}' \;
|
find . -name "*.$ext" -exec rm '{}' \;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue