Fix doc headers

This commit is contained in:
Tommi Reiman 2017-12-10 18:08:00 +02:00
parent c471837d9c
commit 9f324606ff
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
## Configuring Routers
# Configuring Routers
Routers can be configured via options. Options allow things like [`clojure.spec`](https://clojure.org/about/spec) validation for route data and fast, compiled handlers. The following options are available for the `reitit.core/router`:

View file

@ -1,4 +1,4 @@
## Name-based (reverse) Routing
# Name-based (reverse) Routing
All routes which have `:name` route data defined, can also be matched by name.

View file

@ -1,4 +1,4 @@
## Path-based Routing
# Path-based Routing
Path-based routing is done using the `reitit.core/match-by-path` function. It takes the router and path as arguments and returns one of the following: