about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJason A. Donenfeld2013-05-27 21:47:02 +0200
committerJason A. Donenfeld2013-05-27 21:54:16 +0200
commitd6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8 (patch)
tree9798165ceb4e35ee534ef310bd99ad4c08c6fff5
parentfilters: import more modern scripts (diff)
downloadcgit-d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8.tar.gz
cgit-d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8.zip
cgitrc.5: improve example config
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--cgitrc.5.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 6437ef4..b072467 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt
@@ -622,6 +622,14 @@ clone-url=git://foo.org/$CGIT_REPO_URL git@foo.org:$CGIT_REPO_URL
622css=/css/cgit.css 622css=/css/cgit.css
623 623
624 624
625# Show owner on index page
626enable-index-owner=1
627
628
629# Allow http transport git clone
630enable-git-clone=1
631
632
625# Show extra links for each repository on the index page 633# Show extra links for each repository on the index page
626enable-index-links=1 634enable-index-links=1
627 635
@@ -638,6 +646,10 @@ enable-log-filecount=1
638enable-log-linecount=1 646enable-log-linecount=1
639 647
640 648
649# Sort branches by date
650branch-sort=age
651
652
641# Add a cgit favicon 653# Add a cgit favicon
642favicon=/favicon.ico 654favicon=/favicon.ico
643 655
@@ -679,6 +691,47 @@ mimetype.png=image/png
679mimetype.svg=image/svg+xml 691mimetype.svg=image/svg+xml
680 692
681 693
694# Highlight source code with python pygments-based highligher
695source-filter=/var/www/cgit/filters/syntax-highlighting.py
696
697# Format markdown, restructuredtext, manpages, text files, and html files
698# through the right converters
699about-filter=/var/www/cgit/filters/about-formatting.sh
700
701##
702## Search for these files in the root of the default branch of repositories
703## for coming up with the about page:
704##
705readme=:README.md
706readme=:readme.md
707readme=:README.mkd
708readme=:readme.mkd
709readme=:README.rst
710readme=:readme.rst
711readme=:README.html
712readme=:readme.html
713readme=:README.htm
714readme=:readme.htm
715readme=:README.txt
716readme=:readme.txt
717readme=:README
718readme=:readme
719readme=:INSTALL.md
720readme=:install.md
721readme=:INSTALL.mkd
722readme=:install.mkd
723readme=:INSTALL.rst
724readme=:install.rst
725readme=:INSTALL.html
726readme=:install.html
727readme=:INSTALL.htm
728readme=:install.htm
729readme=:INSTALL.txt
730readme=:install.txt
731readme=:INSTALL
732readme=:install
733
734
682## 735##
683## List of repositories. 736## List of repositories.
684## PS: Any repositories listed when section is unset will not be 737## PS: Any repositories listed when section is unset will not be