diff options
author | Hiltjo Posthuma <[email protected]> | 2021-08-03 19:22:50 +0200 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2021-08-03 19:22:50 +0200 |
commit | 1b6a24c893866a604d9b7bc425f9b23706f39912 (patch) | |
tree | 1113ffb747af37fe01f7586275e917910f2e3d76 /stagit.1 | |
parent | 61be8f532818ac1c8d16e418d6e3124d10f82bd6 (diff) | |
download | stagit-1b6a24c893866a604d9b7bc425f9b23706f39912.tar.gz stagit-1b6a24c893866a604d9b7bc425f9b23706f39912.zip |
man pages: add EXAMPLES section
Diffstat (limited to 'stagit.1')
-rw-r--r-- | stagit.1 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.Dd July 27, 2021 +.Dd August 2, 2021 .Dt STAGIT 1 .Os .Sh NAME @@ -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 |