Introduction
Introduction Statistics Contact Development Disclaimer Help
tman pages: add EXAMPLES section - stagit - [fork] customized build of stagit, …
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit c427ffbe3ade2ddb38b14b1b2847123de204ab39
parent d9f8594dcc13525bb087627e8b192da72be2aa4b
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 3 Aug 2021 19:22:50 +0200
man pages: add EXAMPLES section
Diffstat:
M stagit-index.1 | 7 ++++++-
M stagit.1 | 11 ++++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/stagit-index.1 b/stagit-index.1
t@@ -1,4 +1,4 @@
-.Dd December 26, 2015
+.Dd August 2, 2021
.Dt STAGIT-INDEX 1
.Os
.Sh NAME
t@@ -36,6 +36,11 @@ favicon image.
.It style.css
CSS stylesheet.
.El
+.Sh EXAMPLES
+.Bd -literal
+cd htmlroot
+stagit-index path/to/gitrepo1 path/to/gitrepo2 > index.html
+.Ed
.Sh SEE ALSO
.Xr stagit 1
.Sh AUTHORS
diff --git a/stagit.1 b/stagit.1
t@@ -1,4 +1,4 @@
-.Dd July 27, 2021
+.Dd August 2, 2021
.Dt STAGIT 1
.Os
.Sh NAME
t@@ -110,6 +110,15 @@ CSS stylesheet.
.El
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+.Bd -literal
+mkdir -p htmlroot/htmlrepo1 && cd htmlroot/htmlrepo1
+stagit path/to/gitrepo1
+# repeat for other repositories.
+.Ed
+.Pp
+To update the HTML files when the repository is changed a git post-receive hook
+can be used, see the file example_post-receive.sh for an example.
.Sh SEE ALSO
.Xr stagit-index 1
.Sh AUTHORS
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.