From 223fb0607751901e0e9895c95b00c0f731fb5b9a Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Wed, 27 Sep 2017 14:48:55 +0200 Subject: [PATCH] Update to new shared docs repo --- .gitmodules | 2 +- docs/.shared | 2 +- docs/_config.yml | 7 +++++-- docs/asset | 1 + 4 files changed, 8 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..0095e72 160000 --- a/docs/.shared +++ b/docs/.shared @@ -1 +1 @@ -Subproject commit 4959bcbd1c7c4d6c8960773ed9caa371faee3d49 +Subproject commit 0095e72ad9de35659b450f72f600c07dc9d1d4a7 diff --git a/docs/_config.yml b/docs/_config.yml index 2e768e3..34607c7 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -4,9 +4,10 @@ kramdown: baseurl: "/dns" layouts_dir: ".shared/layout" +includes_dir: ".shared/includes" exclude: ["Gemfile", "Gemfile.lock", "README.md", "vendor"] -include: [".shared"] +safe: true repository: amphp/dns gems: @@ -19,5 +20,7 @@ defaults: type: "pages" values: layout: "docs" + description: "amphp/dns provides asynchronous DNS resolution for Amp." + keywords: ["amphp", "amp", "dns", "name resolution", "async", "php"] -asset_path: "/dns/.shared/asset" +shared_asset_path: "/dns/asset" 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