aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-05-28 04:47:02 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-05-28 04:54:16 (JST)
commitd6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8 (patch)
tree9798165ceb4e35ee534ef310bd99ad4c08c6fff5
parent8149be213f1c8f52b0dbe6c213f6073af57fa954 (diff)
downloadcgit-d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8.zip
cgit-d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8.tar.gz
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