From 45337b8c917a8de4062fb19b05c0510e93549d27 Mon Sep 17 00:00:00 2001 From: hitsuji no shippo <43565959+hitsuji-no-shippo@users.noreply.github.com> Date: Thu, 19 Mar 2020 10:36:06 +0900 Subject: [PATCH] docs(README): fix clone mthod of articles scss in case useing gatsby new command (#208) --- README.adoc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index 94c02ad..dec1d1c 100644 --- a/README.adoc +++ b/README.adoc @@ -3,9 +3,9 @@ :!author-email: :author: {author-name} :!email: {author-email} -:revnumber: v1.56.0 -:revdate: 2020-03-03T11:12:14+0900 -:revremark: Update How to use section. +:revnumber: v1.56.1 +:revdate: 2020-03-19T10:33:54+0900 +:revremark: Fix clone method of articles scss in case using gatsby new command. :doctype: article :description: {doctitle} README :title: @@ -851,13 +851,16 @@ cd {doctitle} npm run clone-articles ---- -- -. Clone CSS. + +. Add CSS to git submodules. + Read xref:asciidoctor-support-to-css[] for details. + -- +:articles-scss-dir-path: src/components/Article/LightweightMarkup/scss [source, bash, subs="attributes"] ---- -git clone {article-css-for-asciidoc-url} src/components/Article/LightweightMarkup/scss +rm -rf {articles-scss-dir-path} +git submodule add https://github.com/hitsuji-no-shippo/article-css-for-asciidoc.git {articles-scss-dir-path} +git commit --amend --no-edit ---- -- . Start the site in `develop` mode.