diff options
author | Lars Hjemli <hjemli@gmail.com> | 2010-08-21 22:08:01 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-08-22 20:35:47 (JST) |
commit | 515edb0da3b9156e07e269621d7474cdea82acaf (patch) | |
tree | e5fed5e83f29166c23216437386e10070e1d258d /cgitrc.5.txt | |
parent | 6d7552bc072599313ef423d69156d824c075572a (diff) | |
download | cgit-515edb0da3b9156e07e269621d7474cdea82acaf.zip cgit-515edb0da3b9156e07e269621d7474cdea82acaf.tar.gz |
Add support for "readme" option
The value of this option is used as the default value for repo.readme.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index c643fae..187031a 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -234,6 +234,10 @@ project-list:: | |||
234 | should loaded as git repositories. This must be defined prior to | 234 | should loaded as git repositories. This must be defined prior to |
235 | scan-path. Default value: none. See also: scan-path. | 235 | scan-path. Default value: none. See also: scan-path. |
236 | 236 | ||
237 | readme:: | ||
238 | Text which will be used as default value for "repo.readme". Default | ||
239 | value: none. | ||
240 | |||
237 | remove-suffix:: | 241 | remove-suffix:: |
238 | If set to "1" and scan-path is enabled, if any repositories are found | 242 | If set to "1" and scan-path is enabled, if any repositories are found |
239 | with a suffix of ".git", this suffix will be removed for the url and | 243 | with a suffix of ".git", this suffix will be removed for the url and |
@@ -373,7 +377,7 @@ repo.readme:: | |||
373 | A path (relative to <repo.path>) which specifies a file to include | 377 | A path (relative to <repo.path>) which specifies a file to include |
374 | verbatim as the "About" page for this repo. You may also specify a | 378 | verbatim as the "About" page for this repo. You may also specify a |
375 | git refspec by head or by hash by prepending the refspec followed by | 379 | git refspec by head or by hash by prepending the refspec followed by |
376 | a colon. For example, "master:docs/readme.mkd" Default value: none. | 380 | a colon. For example, "master:docs/readme.mkd" Default value: <readme>. |
377 | 381 | ||
378 | repo.snapshots:: | 382 | repo.snapshots:: |
379 | A mask of allowed snapshot-formats for this repo, restricted by the | 383 | A mask of allowed snapshot-formats for this repo, restricted by the |