From: Dan Allen Date: Sun, 6 Jun 2021 07:35:37 +0000 (-0600) Subject: resolves #176 drop .git suffix from basename in clone instructions X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e9855100e5a30ee642def82f2732152cba833237;p=eg-antora.git resolves #176 drop .git suffix from basename in clone instructions --- diff --git a/docs/modules/ROOT/pages/set-up-project.adoc b/docs/modules/ROOT/pages/set-up-project.adoc index be7dac2..9dad8aa 100644 --- a/docs/modules/ROOT/pages/set-up-project.adoc +++ b/docs/modules/ROOT/pages/set-up-project.adoc @@ -10,7 +10,7 @@ To start, clone the default UI project using git: [subs=attributes+] $ git clone {url-project} && - cd "`basename $_`" + cd "`basename ${_%.git}`" The example above clones Antora's default UI project and then switches to the project folder on your filesystem. Stay in this project folder in order to initialize the project using npm.