author | Lars Hjemli <hjemli@gmail.com> | 2009-02-12 09:02:09 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-02-12 09:02:09 (UTC) |
commit | b875a9eedaeb93f24c375a1b7650c8af7f286e9d (patch) (unidiff) | |
tree | a8290637d710f54b5c6f7b7558fb031f0a49650b | |
parent | d3b2933cfead688036b354238e947c12916575b6 (diff) | |
download | cgit-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>
-rw-r--r-- | cgitrc.5.txt | 2 |
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:: | |||
238 | repo.owner:: | 238 | repo.owner:: |
239 | A value used to identify the owner of the repository. Default value: | 239 | A value used to identify the owner of the repository. Default value: |
240 | none. | 240 | none. |
241 | 241 | ||
242 | repo.path:: | 242 | repo.path:: |
243 | An absolute path to the repository directory. For non-bare repositories | 243 | An absolute path to the repository directory. For non-bare repositories |
244 | this is the .git-directory. Default value: none. | 244 | this is the .git-directory. Default value: none. |
245 | 245 | ||
246 | repo.readme:: | 246 | repo.readme:: |
247 | A path (relative to <repo.path>) which specifies a file to include | 247 | A path (relative to <repo.path>) which specifies a file to include |
248 | verbatim as the "About" page for this repo. Default value: none. | 248 | verbatim as the "About" page for this repo. Default value: none. |
249 | 249 | ||
250 | repo.snapshots:: | 250 | repo.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 | ||
254 | repo.url:: | 254 | repo.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 | ||
259 | EXAMPLE CGITRC FILE | 259 | EXAMPLE 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 |
263 | cache-size=1000 | 264 | cache-size=1000 |
264 | 265 | ||
265 | 266 | ||
266 | # Specify some default clone prefixes | 267 | # Specify some default clone prefixes |
267 | clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git | 268 | clone-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 |
270 | css=/css/cgit.css | 271 | css=/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 |
274 | enable-index-links=1 | 275 | enable-index-links=1 |
275 | 276 | ||
276 | 277 | ||
277 | # Show number of affected files per commit on the log pages | 278 | # Show number of affected files per commit on the log pages |
278 | enable-log-filecount=1 | 279 | enable-log-filecount=1 |
279 | 280 | ||
280 | 281 | ||
281 | # Show number of added/removed lines per commit on the log pages | 282 | # Show number of added/removed lines per commit on the log pages |
282 | enable-log-linecount=1 | 283 | enable-log-linecount=1 |
283 | 284 | ||
284 | 285 | ||
285 | # Add a cgit favicon | 286 | # Add a cgit favicon |
@@ -347,42 +348,43 @@ repo.path=/pub/git/wiz.git | |||
347 | repo.desc=the wizard of foo | 348 | repo.desc=the wizard of foo |
348 | 349 | ||
349 | 350 | ||
350 | # Add some mirrored repositories | 351 | # Add some mirrored repositories |
351 | repo.group=mirrors | 352 | repo.group=mirrors |
352 | 353 | ||
353 | 354 | ||
354 | repo.url=git | 355 | repo.url=git |
355 | repo.path=/pub/git/git.git | 356 | repo.path=/pub/git/git.git |
356 | repo.desc=the dscm | 357 | repo.desc=the dscm |
357 | 358 | ||
358 | 359 | ||
359 | repo.url=linux | 360 | repo.url=linux |
360 | repo.path=/pub/git/linux.git | 361 | repo.path=/pub/git/linux.git |
361 | repo.desc=the kernel | 362 | repo.desc=the kernel |
362 | 363 | ||
363 | # Disable adhoc downloads of this repo | 364 | # Disable adhoc downloads of this repo |
364 | repo.snapshots=0 | 365 | repo.snapshots=0 |
365 | 366 | ||
366 | # Disable line-counts for this repo | 367 | # Disable line-counts for this repo |
367 | repo.enable-log-linecount=0 | 368 | repo.enable-log-linecount=0 |
368 | 369 | ||
369 | # Restrict the max statistics period for this repo | 370 | # Restrict the max statistics period for this repo |
370 | repo.max-stats=month | 371 | repo.max-stats=month |
372 | .... | ||
371 | 373 | ||
372 | 374 | ||
373 | BUGS | 375 | BUGS |
374 | ---- | 376 | ---- |
375 | Comments currently cannot appear on the same line as a setting; the comment | 377 | Comments currently cannot appear on the same line as a setting; the comment |
376 | will be included as part of the value. E.g. this line: | 378 | will 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 | ||
380 | will generate the following html element: | 382 | will generate the following html element: |
381 | 383 | ||
382 | <meta name='robots' content='index # allow indexing'/> | 384 | <meta name='robots' content='index # allow indexing'/> |
383 | 385 | ||
384 | 386 | ||
385 | 387 | ||
386 | AUTHOR | 388 | AUTHOR |
387 | ------ | 389 | ------ |
388 | Lars Hjemli <hjemli@gmail.com> | 390 | Lars Hjemli <hjemli@gmail.com> |