summaryrefslogtreecommitdiff
path: root/stagit.1
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-12-26 21:05:55 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-12-26 21:05:55 +0100
commit81dd454368b40eabf62fede213626d45512150a2 (patch)
tree7532265d577223de13a2f396bffa7839008f7377 /stagit.1
parent8c58750b636edc4ee36aff62d7c126f99b803dbb (diff)
rename urmoms to stagit, improve documentation
Diffstat (limited to 'stagit.1')
-rw-r--r--stagit.159
1 files changed, 59 insertions, 0 deletions
diff --git a/stagit.1 b/stagit.1
new file mode 100644
index 0000000..a875450
--- /dev/null
+++ b/stagit.1
@@ -0,0 +1,59 @@
+.Dd December 26, 2015
+.Dt STAGIT 1
+.Os
+.Sh NAME
+.Nm stagit
+.Nd static git page generator
+.Sh SYNOPSIS
+.Nm
+.Op Ar repodir
+.Sh DESCRIPTION
+.Nm
+writes HTML pages for the repository
+.Ar repodir
+to the current directory. The following files will be written:
+.Bl -tag -width Ds
+.It atom.xml
+Atom XML feed
+.It files.html
+List of files in the latest HEAD commit, linking to the file.
+.It log.html
+List of commits in order of most recent to old of the commits (top to bottom),
+each commit links to a page with a diff and diffstat of the commit.
+.El
+.Pp
+For each file in HEAD a file will be written in the format:
+file/filepath.html. This file will contain the textual data of the file
+prefixed by line numbers. The file will have the string "binary file"
+if the data is considered to be non-textual.
+.Pp
+For each commit a file will be written in the format:
+commit/commitid.html . This file will contain the diff and diffstat of the
+commit. It will write the string "binary files differ" if the data is
+considered to be non-textual.
+.Pp
+The basename of the directory is used as the name.
+.Pp
+The content of the follow files specifies the meta data for each repository:
+.Bl -tag -width Ds
+.It .git/description or description (bare repos).
+description
+.It .git/owner or owner (bare repo).
+owner of repository
+.It .git/url or url (bare repo).
+primary clone url of the repository, for example: git://git.2f30.org/stagit
+.El
+.Pp
+For changing the style of the page you can use the following files:
+.Bl -tag -width Ds
+.It logo.png
+32x32 logo.
+.It favicon.png
+favicon image.
+.It style.css
+CSS stylesheet.
+.El
+.Sh SEE ALSO
+.Xr stagit-index 1
+.Sh AUTHORS
+.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org