From a761f7d8863324256e7a1a49be2aeff317e44fb7 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Fri, 7 Aug 2020 15:32:37 +0900 Subject: [PATCH] =?UTF-8?q?doc4.ec-cube.net=20=E3=81=AE=E3=83=86=E3=83=BC?= =?UTF-8?q?=E3=83=9E=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 目次をつけて見やすくする - YAML front matter を最小限に --- docs/_config.yml | 12 +++++++----- docs/_data/navigation.yml | 4 ++-- docs/_pages/authZ_code_grant.md | 2 -- docs/_pages/customize/allow_list.md | 2 -- docs/_pages/customize/query.md | 2 -- docs/_pages/index.md | 2 -- docs/_pages/mutation/product_stock.md | 2 -- docs/_pages/mutation/update_shipped.md | 2 -- docs/_pages/query/customers.md | 2 -- docs/_pages/query/orders.md | 2 -- docs/_pages/query/products.md | 2 -- docs/_pages/schema.md | 2 -- docs/assets/css/main.scss | 16 ++++++++++++++++ 13 files changed, 25 insertions(+), 27 deletions(-) create mode 100644 docs/assets/css/main.scss diff --git a/docs/_config.yml b/docs/_config.yml index 919432b..a8c15f8 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -11,7 +11,7 @@ # https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme # theme : "minimal-mistakes-jekyll" -# remote_theme : "mmistakes/minimal-mistakes" +remote_theme : "mmistakes/minimal-mistakes@4.20.1" minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise" # Site Settings @@ -273,9 +273,11 @@ defaults: type: pages values: layout: single - author_profile: true + author_profile: false read_time: true - comments: # true - share: true - related: true + comments: false + share: false + related: false + toc: true + toc_sticky: true diff --git a/docs/_data/navigation.yml b/docs/_data/navigation.yml index 6a9cd84..b0c11ec 100644 --- a/docs/_data/navigation.yml +++ b/docs/_data/navigation.yml @@ -1,7 +1,7 @@ # main links main: - - title: "Quick-Start Guide" - url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/ + # - title: "Quick-Start Guide" + # url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/ # - title: "About" # url: https://mmistakes.github.io/minimal-mistakes/about/ # - title: "Sample Posts" diff --git a/docs/_pages/authZ_code_grant.md b/docs/_pages/authZ_code_grant.md index 24fbf56..633a7e0 100644 --- a/docs/_pages/authZ_code_grant.md +++ b/docs/_pages/authZ_code_grant.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /authZ_code_grant --- ## Authorization Code Flow での認可 diff --git a/docs/_pages/customize/allow_list.md b/docs/_pages/customize/allow_list.md index a2973b1..52f844a 100644 --- a/docs/_pages/customize/allow_list.md +++ b/docs/_pages/customize/allow_list.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /customize/allow_list --- diff --git a/docs/_pages/customize/query.md b/docs/_pages/customize/query.md index de14a2b..1c9cc25 100644 --- a/docs/_pages/customize/query.md +++ b/docs/_pages/customize/query.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /customize/query --- diff --git a/docs/_pages/index.md b/docs/_pages/index.md index 150bb52..9cc5e05 100644 --- a/docs/_pages/index.md +++ b/docs/_pages/index.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: / --- EC-CUBE4 対応の Web API プラグイン diff --git a/docs/_pages/mutation/product_stock.md b/docs/_pages/mutation/product_stock.md index 4748b96..be471da 100644 --- a/docs/_pages/mutation/product_stock.md +++ b/docs/_pages/mutation/product_stock.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /mutation/product_stock --- diff --git a/docs/_pages/mutation/update_shipped.md b/docs/_pages/mutation/update_shipped.md index ad51a11..386f5db 100644 --- a/docs/_pages/mutation/update_shipped.md +++ b/docs/_pages/mutation/update_shipped.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /mutation/update_shipped --- diff --git a/docs/_pages/query/customers.md b/docs/_pages/query/customers.md index 5c12d42..3905035 100644 --- a/docs/_pages/query/customers.md +++ b/docs/_pages/query/customers.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /query/customers --- ## 顧客一覧の取得 diff --git a/docs/_pages/query/orders.md b/docs/_pages/query/orders.md index 276909b..5597a8e 100644 --- a/docs/_pages/query/orders.md +++ b/docs/_pages/query/orders.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /query/orders --- ## 受注一覧の取得 diff --git a/docs/_pages/query/products.md b/docs/_pages/query/products.md index 5e1b3ff..55feb07 100644 --- a/docs/_pages/query/products.md +++ b/docs/_pages/query/products.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /query/products --- ## 商品一覧の取得 diff --git a/docs/_pages/schema.md b/docs/_pages/schema.md index 3dbc68d..f6af525 100644 --- a/docs/_pages/schema.md +++ b/docs/_pages/schema.md @@ -1,6 +1,4 @@ --- -layout: home -author_profile: true permalink: /schema --- diff --git a/docs/assets/css/main.scss b/docs/assets/css/main.scss new file mode 100644 index 0000000..c60f0a4 --- /dev/null +++ b/docs/assets/css/main.scss @@ -0,0 +1,16 @@ +--- +# Only the main Sass file needs front matter (the dashes are enough) +--- + +@charset "utf-8"; + +@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin +@import "minimal-mistakes"; // main partials + +.page { + @extend .page; + width: 100%; +} +.page__footer-follow { + display: none; +}