diff options
author | Todd Zullinger <tmz@pobox.com> | 2011-03-06 11:33:31 -0500 |
---|---|---|
committer | Todd Zullinger <tmz@pobox.com> | 2011-03-06 11:38:32 -0500 |
commit | 2f0e0051f86b8b66c869e27907ace387f0f52f71 (patch) | |
tree | c3e6cd05a8882650c4c6f7e285e407c59c2c5a05 | |
parent | a602a24e37083910a1e017020c9613241ad32fbd (diff) | |
download | cgit_EL6-2f0e0051f86b8b66c869e27907ace387f0f52f71.tar.gz |
Update example cgitrc
-rw-r--r-- | cgit.spec | 1 | ||||
-rw-r--r-- | cgitrc | 27 |
2 files changed, 25 insertions, 3 deletions
@@ -101,6 +101,7 @@ rm -rf %{buildroot} - Generate and install man page and html docs - Use libcurl-devel on RHEL >= 6 - Include example filter scripts +- Update example cgitrc * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild @@ -1,5 +1,5 @@ # -# See /usr/share/doc/cgit-*/cgitrc.5.txt for details +# See cgitrc(5) or /usr/share/doc/cgit-*/cgitrc.5.html for details # # Enable caching of up to 1000 output entries @@ -14,6 +14,9 @@ css=/cgit-data/cgit.css # Show extra links for each repository on the index page enable-index-links=1 +# Enable ASCII art commit history graph on the log pages +enable-commit-graph=1 + # Show number of affected files per commit on the log pages enable-log-filecount=1 @@ -26,6 +29,9 @@ enable-log-linecount=1 # Use a custom logo logo=/cgit-data/cgit.png +# Enable statistics per week, month and quarter +max-stats=quarter + # Set the title and heading of the repository index page #root-title=example.com git repositories @@ -39,9 +45,24 @@ logo=/cgit-data/cgit.png #snapshots=tar.gz tar.bz2 zip ## +## List of common mimetypes +## + +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml + +# Enable syntax highlighting (requires the highlight package) +#source-filter=/usr/libexec/cgit/filters/syntax-highlighting.sh + +## ## List of repositories. -## PS: Any repositories listed when repo.group is unset will not be -## displayed under a group heading +## PS: Any repositories listed when section is unset will not be +## displayed under a section heading ## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') ## and included like this: ## include=/etc/cgitrepos |