From d5a705ea9bfd4d7bb76d1d103e1d80a4f7c7b5fe Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Wed, 27 Sep 2017 13:56:06 +0200 Subject: [PATCH] Update to new shared docs repo --- .gitmodules | 2 +- docs/.shared | 2 +- docs/_config.yml | 5 +++-- docs/asset | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) create mode 120000 docs/asset diff --git a/.gitmodules b/.gitmodules index a586324..ef2bec4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "docs/.shared"] path = docs/.shared - url = https://github.com/amphp/website-shared + url = https://github.com/amphp/amphp.github.io diff --git a/docs/.shared b/docs/.shared index 4959bcb..670b956 160000 --- a/docs/.shared +++ b/docs/.shared @@ -1 +1 @@ -Subproject commit 4959bcbd1c7c4d6c8960773ed9caa371faee3d49 +Subproject commit 670b9567d1cf0f62efb6a2064d6e8106eec50cb8 diff --git a/docs/_config.yml b/docs/_config.yml index 7517605..a89abb9 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -4,9 +4,10 @@ kramdown: baseurl: "/byte-stream" layouts_dir: ".shared/layout" +includes_dir: ".shared/includes" exclude: ["Gemfile", "Gemfile.lock", "README.md", "vendor"] -include: [".shared"] +safe: true repository: amphp/byte-stream gems: @@ -20,7 +21,7 @@ defaults: values: layout: "docs" -asset_path: "/byte-stream/.shared/asset" +shared_asset_path: "/byte-stream/asset" navigation: - resource-streams diff --git a/docs/asset b/docs/asset new file mode 120000 index 0000000..1d3b8c6 --- /dev/null +++ b/docs/asset @@ -0,0 +1 @@ +.shared/asset \ No newline at end of file