diff --git a/docs/config.json b/docs/config.json index 3dbd75c..c4da54e 100644 --- a/docs/config.json +++ b/docs/config.json @@ -1,6 +1,7 @@ { "title": "DAUX.IO", "tagline": "The Easiest Way To Document Your Project", + "docs_path": "docs", "image": "img/app.png", "theme": "navy", "date_modified": true, diff --git a/index.php b/index.php index d556bc0..0857fce 100644 --- a/index.php +++ b/index.php @@ -66,7 +66,7 @@ software, even if advised of the possibility of such damage. require_once('libs/functions.php'); $options = get_options(); -$tree = get_tree("docs", $base_url); +$tree = get_tree($options['docs_path'], $base_url); $homepage_url = homepage_url($tree); $docs_url = docs_url($tree);