]> git.armaanb.net Git - stagit.git/commitdiff
update README and improve man pages
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 20 Dec 2015 20:34:40 +0000 (21:34 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 20 Dec 2015 20:34:40 +0000 (21:34 +0100)
README
urmoms-index.1
urmoms.1

diff --git a/README b/README
index 31e8ffefed879e10ec2c374494061641b9220010..67ef172e0f384715e3e50c0769a072e83df3740a 100644 (file)
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ Usage
 
 mkdir -p htmldir
 cd htmldir
-urmoms <path-to-repo>
+urmoms path-to-repo
 
 
 Install
@@ -27,3 +27,4 @@ Features
 - Show file tree.
 - Detect README and LICENSE file to make a webpage.
 - Atom feed git log.
+- Make index page for multiple repositories.
index 788e0ab7c7fe3e0c2d15362ab0c416b1e6cea487..be5547abcb690d1e4365f0349f828191f7d8d640 100644 (file)
@@ -1,14 +1,27 @@
-.Dd December 15, 2015
+.Dd December 20, 2015
 .Dt URMOMS-INDEX 1
 .Os
 .Sh NAME
 .Nm urmoms-index
-.Nd static git page generator (repo list)
+.Nd static git index page generator
 .Sh SYNOPSIS
 .Nm
 .Op Ar repodir...
 .Sh DESCRIPTION
 .Nm
-is undocumented
+will create an index HTML page for the repositories specified and writes
+the HTML data to stdout.
+.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 urmoms 1
 .Sh AUTHORS
 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org
index 9f08667c545338c29c3b8723f182d2e8ba8a7e5d..c2204f65cef93e4602d7be291632f4fbdc1581bf 100644 (file)
--- a/urmoms.1
+++ b/urmoms.1
@@ -1,4 +1,4 @@
-.Dd December 15, 2015
+.Dd December 20, 2015
 .Dt URMOMS 1
 .Os
 .Sh NAME
@@ -9,6 +9,39 @@
 .Op Ar repodir
 .Sh DESCRIPTION
 .Nm
-is undocumented
+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
+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 urmoms-index 1
 .Sh AUTHORS
 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org