changeset 795:922092c6eb8a

docs: Fix outdated routing in the configuration file.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 07 Sep 2016 23:14:15 -0700
parents f0fbf218cf44
children 3900169ac81b
files docs/config.yml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/docs/config.yml	Wed Sep 07 22:35:25 2016 -0700
+++ b/docs/config.yml	Wed Sep 07 23:14:15 2016 -0700
@@ -16,13 +16,13 @@
             default_layout: api
     routes:
         -
-            url: /docs/%path:slug%
+            url: /docs/%slug%
             source: docs
-            func: docurl(slug)
+            func: docurl
         -
-            url: /api/%path:slug%
+            url: /api/%slug%
             source: api
-            func: apiurl(slug)
+            func: apiurl
 
 baker:
     assets_dirs: