resolves #176 drop .git suffix from basename in clone instructions
authorDan Allen <dan@opendevise.com>
Sun, 6 Jun 2021 07:35:37 +0000 (01:35 -0600)
committerDan Allen <dan@opendevise.com>
Sun, 6 Jun 2021 07:35:37 +0000 (01:35 -0600)
docs/modules/ROOT/pages/set-up-project.adoc

index be7dac2..9dad8aa 100644 (file)
@@ -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.