README: improve a bit the usage examples - stagit - static git page generator (HTM) git clone git://git.codemadness.org/stagit (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit ddc581bd9088d0b3503606993eb8ed9dbeb44347 (DIR) parent c827ab1b1dee13e512f8ae24aa824879d547d0db (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Tue, 18 May 2021 10:38:54 +0200 README: improve a bit the usage examples Diffstat: M README | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) --- (DIR) diff --git a/README b/README @@ -11,12 +11,17 @@ Usage Make files per repository: - $ mkdir -p htmldir && cd htmldir - $ stagit path-to-repo + $ mkdir -p htmlroot/htmlrepo1 && cd htmlroot/htmlrepo1 + $ stagit path/to/gitrepo1 + repeat for other repositories + $ ... Make index file for repositories: - $ stagit-index repodir1 repodir2 repodir3 > index.html + $ cd htmlroot + $ stagit-index path/to/gitrepo1 \ + path/to/gitrepo2 \ + path/to/gitrepo3 > index.html Build and install