diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-05-28 04:47:02 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-05-28 04:54:16 (JST) |
commit | d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8 (patch) | |
tree | 9798165ceb4e35ee534ef310bd99ad4c08c6fff5 /cgitrc.5.txt | |
parent | 8149be213f1c8f52b0dbe6c213f6073af57fa954 (diff) | |
download | cgit-d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8.zip cgit-d6d3dbc8582f7eccaa52e627f6a2f2d70c6144e8.tar.gz |
cgitrc.5: improve example config
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 53 |
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 | |||
622 | css=/css/cgit.css | 622 | css=/css/cgit.css |
623 | 623 | ||
624 | 624 | ||
625 | # Show owner on index page | ||
626 | enable-index-owner=1 | ||
627 | |||
628 | |||
629 | # Allow http transport git clone | ||
630 | enable-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 |
626 | enable-index-links=1 | 634 | enable-index-links=1 |
627 | 635 | ||
@@ -638,6 +646,10 @@ enable-log-filecount=1 | |||
638 | enable-log-linecount=1 | 646 | enable-log-linecount=1 |
639 | 647 | ||
640 | 648 | ||
649 | # Sort branches by date | ||
650 | branch-sort=age | ||
651 | |||
652 | |||
641 | # Add a cgit favicon | 653 | # Add a cgit favicon |
642 | favicon=/favicon.ico | 654 | favicon=/favicon.ico |
643 | 655 | ||
@@ -679,6 +691,47 @@ mimetype.png=image/png | |||
679 | mimetype.svg=image/svg+xml | 691 | mimetype.svg=image/svg+xml |
680 | 692 | ||
681 | 693 | ||
694 | # Highlight source code with python pygments-based highligher | ||
695 | source-filter=/var/www/cgit/filters/syntax-highlighting.py | ||
696 | |||
697 | # Format markdown, restructuredtext, manpages, text files, and html files | ||
698 | # through the right converters | ||
699 | about-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 | ## | ||
705 | readme=:README.md | ||
706 | readme=:readme.md | ||
707 | readme=:README.mkd | ||
708 | readme=:readme.mkd | ||
709 | readme=:README.rst | ||
710 | readme=:readme.rst | ||
711 | readme=:README.html | ||
712 | readme=:readme.html | ||
713 | readme=:README.htm | ||
714 | readme=:readme.htm | ||
715 | readme=:README.txt | ||
716 | readme=:readme.txt | ||
717 | readme=:README | ||
718 | readme=:readme | ||
719 | readme=:INSTALL.md | ||
720 | readme=:install.md | ||
721 | readme=:INSTALL.mkd | ||
722 | readme=:install.mkd | ||
723 | readme=:INSTALL.rst | ||
724 | readme=:install.rst | ||
725 | readme=:INSTALL.html | ||
726 | readme=:install.html | ||
727 | readme=:INSTALL.htm | ||
728 | readme=:install.htm | ||
729 | readme=:INSTALL.txt | ||
730 | readme=:install.txt | ||
731 | readme=:INSTALL | ||
732 | readme=: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 |