summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2009-02-12 09:02:09 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2009-02-12 09:02:09 (UTC)
commitb875a9eedaeb93f24c375a1b7650c8af7f286e9d (patch) (side-by-side diff)
treea8290637d710f54b5c6f7b7558fb031f0a49650b
parentd3b2933cfead688036b354238e947c12916575b6 (diff)
downloadcgit-b875a9eedaeb93f24c375a1b7650c8af7f286e9d.zip
cgit-b875a9eedaeb93f24c375a1b7650c8af7f286e9d.tar.gz
cgit-b875a9eedaeb93f24c375a1b7650c8af7f286e9d.tar.bz2
cgitrc.5.txt: wrap the example file in an asciidoc LiteralBlock
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgitrc.5.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index e8b5cd4..33ac958 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -238,48 +238,49 @@ repo.name::
repo.owner::
A value used to identify the owner of the repository. Default value:
none.
repo.path::
An absolute path to the repository directory. For non-bare repositories
this is the .git-directory. Default value: none.
repo.readme::
A path (relative to <repo.path>) which specifies a file to include
verbatim as the "About" page for this repo. Default value: none.
repo.snapshots::
A mask of allowed snapshot-formats for this repo, restricted by the
"snapshots" global setting. Default value: <snapshots>.
repo.url::
The relative url used to access the repository. This must be the first
setting specified for each repo. Default value: none.
EXAMPLE CGITRC FILE
-------------------
+....
# Enable caching of up to 1000 output entriess
cache-size=1000
# Specify some default clone prefixes
clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git
# Specify the css url
css=/css/cgit.css
# Show extra links for each repository on the index page
enable-index-links=1
# Show number of affected files per commit on the log pages
enable-log-filecount=1
# Show number of added/removed lines per commit on the log pages
enable-log-linecount=1
# Add a cgit favicon
@@ -347,42 +348,43 @@ repo.path=/pub/git/wiz.git
repo.desc=the wizard of foo
# Add some mirrored repositories
repo.group=mirrors
repo.url=git
repo.path=/pub/git/git.git
repo.desc=the dscm
repo.url=linux
repo.path=/pub/git/linux.git
repo.desc=the kernel
# Disable adhoc downloads of this repo
repo.snapshots=0
# Disable line-counts for this repo
repo.enable-log-linecount=0
# Restrict the max statistics period for this repo
repo.max-stats=month
+....
BUGS
----
Comments currently cannot appear on the same line as a setting; the comment
will be included as part of the value. E.g. this line:
robots=index # allow indexing
will generate the following html element:
<meta name='robots' content='index # allow indexing'/>
AUTHOR
------
Lars Hjemli <hjemli@gmail.com>