diff --git a/_config.yml b/_config.yml index cea599ae08..4d98e8efcd 100644 --- a/_config.yml +++ b/_config.yml @@ -15,52 +15,65 @@ defaults: - scope: path: "*" values: - root: "." + root: "../.." - scope: path: "*/*" values: - root: ".." + root: "../../.." + - scope: + path: "*/*/*" + values: + root: "../../../.." -default_root: ".." +default_root: "../../.." collections_dir: docs collections: install-and-build: output: true + permalink: docs/:collection/:slug caption: Install and build sidebar_index: 1 frontpage: _install-and-build/Installing-Geth.md interface: output: true + permalink: docs/:collection/:slug caption: Interacting with Geth sidebar_index: 2 support: output: true + permalink: docs/:collection/:slug caption: Issues and support sidebar_index: 3 developers: output: true + permalink: docs/:collection/:slug caption: Developer docs sidebar_index: 4 clef: output: true + permalink: docs/:collection/:slug caption: Clef sidebar_index: 5 frontpage: _clef/Overview.md whisper: output: true + permalink: docs/:collection/:slug caption: Whisper sidebar_index: 6 frontpage: _whisper/Whisper-Overview.md rpc: output: true + permalink: docs/:collection/:slug caption: JSON RPC APIs sidebar_index: 7 doc: output: true + permalink: docs/:collection/:slug caption: Other sidebar_index: 8 legacy: output: true + permalink: docs/:collection/:slug caption: Legacy content sidebar_index: 9 diff --git a/_data/navbar.yml b/_data/navbar.yml index 4ad130e2ae..d85d1d6868 100644 --- a/_data/navbar.yml +++ b/_data/navbar.yml @@ -1,3 +1,3 @@ -Install: /install-and-build/Installing-Geth +Install: /docs/install-and-build/installing-geth Downloads: /downloads Documentation: /docs diff --git a/_includes/link.html b/_includes/link.html index 07b7a54722..b66e4a17e1 100644 --- a/_includes/link.html +++ b/_includes/link.html @@ -1 +1 @@ -{% if page.root %}{% assign root=page.root %}{% else %}{% assign root=site.default_root %}{% endif %}{{ include.url | remove: ".html" | prepend: root | replace: '//', '/' }} +{% if page.root %}{% assign root=page.root %}{% else %}{% assign root=site.default_root %}{% endif %}{{ include.url | remove: ".html" | prepend: root | replace: '//', '/' }} \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 0d7bc47a43..34dd1b4487 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -26,7 +26,7 @@ common-js: - Go Ethereum + Go Ethereum