summaryrefslogtreecommitdiffabout
path: root/cgitrc.5.txt
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) (unidiff)
treea8290637d710f54b5c6f7b7558fb031f0a49650b /cgitrc.5.txt
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 (limited to 'cgitrc.5.txt') (more/less context) (ignore 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::
250repo.snapshots:: 250repo.snapshots::
251 A mask of allowed snapshot-formats for this repo, restricted by the 251 A mask of allowed snapshot-formats for this repo, restricted by the
252 "snapshots" global setting. Default value: <snapshots>. 252 "snapshots" global setting. Default value: <snapshots>.
253 253
254repo.url:: 254repo.url::
255 The relative url used to access the repository. This must be the first 255 The relative url used to access the repository. This must be the first
256 setting specified for each repo. Default value: none. 256 setting specified for each repo. Default value: none.
257 257
258 258
259EXAMPLE CGITRC FILE 259EXAMPLE CGITRC FILE
260------------------- 260-------------------
261 261
262....
262# Enable caching of up to 1000 output entriess 263# Enable caching of up to 1000 output entriess
263cache-size=1000 264cache-size=1000
264 265
265 266
266# Specify some default clone prefixes 267# Specify some default clone prefixes
267clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git 268clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git
268 269
269# Specify the css url 270# Specify the css url
270css=/css/cgit.css 271css=/css/cgit.css
271 272
272 273
273# Show extra links for each repository on the index page 274# Show extra links for each repository on the index page
@@ -359,24 +360,25 @@ repo.desc=the dscm
359repo.url=linux 360repo.url=linux
360repo.path=/pub/git/linux.git 361repo.path=/pub/git/linux.git
361repo.desc=the kernel 362repo.desc=the kernel
362 363
363# Disable adhoc downloads of this repo 364# Disable adhoc downloads of this repo
364repo.snapshots=0 365repo.snapshots=0
365 366
366# Disable line-counts for this repo 367# Disable line-counts for this repo
367repo.enable-log-linecount=0 368repo.enable-log-linecount=0
368 369
369# Restrict the max statistics period for this repo 370# Restrict the max statistics period for this repo
370repo.max-stats=month 371repo.max-stats=month
372....
371 373
372 374
373BUGS 375BUGS
374---- 376----
375Comments currently cannot appear on the same line as a setting; the comment 377Comments currently cannot appear on the same line as a setting; the comment
376will be included as part of the value. E.g. this line: 378will be included as part of the value. E.g. this line:
377 379
378 robots=index # allow indexing 380 robots=index # allow indexing
379 381
380will generate the following html element: 382will generate the following html element:
381 383
382 <meta name='robots' content='index # allow indexing'/> 384 <meta name='robots' content='index # allow indexing'/>