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
@@ -250,24 +250,25 @@ repo.readme::
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
@@ -359,24 +360,25 @@ 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'/>