diff --git a/Gemfile b/Gemfile index 3f49941360..d6fed7efaa 100644 --- a/Gemfile +++ b/Gemfile @@ -28,3 +28,6 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.0" if Gem.win_platform? +group :development, :test do + gem "pry" +end \ No newline at end of file diff --git a/_config.yml b/_config.yml index 38f95dfa4e..37fe4147e0 100644 --- a/_config.yml +++ b/_config.yml @@ -2,34 +2,26 @@ repository: ethereum/go-ethereum theme: minima -exclude: - - Gemfile - - Gemfile.lock - - .gitignore +keep_files: + - static favicon: /static/images/favicon.png defaults: - - - scope: + - scope: path: "" values: layout: sidebar - - - scope: + - scope: path: "*" values: root: "." - - - scope: + - scope: path: "*/*" values: root: ".." - - - scope: - path: "*/*/*" - values: - root: "../.." + +default_root: ".." collections_dir: docs collections: diff --git a/_includes/head.html b/_includes/head.html index 724ce5a28a..c077241bab 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -8,13 +8,13 @@ {% if layout.common-css %} {% for css in layout.common-css %} - + {% endfor %} {% endif %} {% if page.css %} {% for css in page.css %} - + {% endfor %} {% endif %} diff --git a/_includes/link.html b/_includes/link.html index 393917d502..f1f0abea6b 100644 --- a/_includes/link.html +++ b/_includes/link.html @@ -1 +1,2 @@ -{{ include.url | remove: ".html" | prepend: page.root | replace: '//', '/' }} \ No newline at end of file +{% capture root %}{{ page.root or site.default_root }}{% endcapture %} +{{ include.url | remove: ".html" | prepend: root | replace: '//', '/' }} \ No newline at end of file diff --git a/_layouts/sidebar.html b/_layouts/sidebar.html index dcf9747d16..69ce33cb7d 100644 --- a/_layouts/sidebar.html +++ b/_layouts/sidebar.html @@ -31,7 +31,6 @@ layout: default {% if page.title %}

{% include title.html doc=page coll=page.collection %}

{% endif %} - {{ content }}