blob: 1fc2b8c7f956f9e4f967b09e6cdb1afc3fee05a9 (
plain)
- #
- # cgit config
- # see cgitrc(5) for details
- # Depends: cmark highlight
- css=/cgit-local/local.css
- logo=/cgit-css/cgit.png
- remove-suffix=1
- clone-url=git://$HTTP_HOST/$CGIT_REPO_URL user@$HTTP_HOST:$CGIT_REPO_URL https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL
- # (ab)use source filter to parse markdown as html,
- # with line-numbered + highlighted plaintext only as fallback
- # TODO: add anchor to line-numbering:
- # <li style='list-style-type:none'><a id='n2' href='#n2'>2</a>
- # TODO: hide anchor except in :hover mode:
- # <li><a id='n2' href='#n2'>§</a>
- enable-tree-linenumbers=0
- source-filter=/etc/local-COMMON/cgit/filters/syntax-highlighting.sh
- about-filter=/etc/local-COMMON/cgit/filters/about-formatting.sh
- readme=:README.md
- cache-size=1000
- # must be last!
- scan-path=$DOCUMENT_ROOT
|