source: trunk/.svndigest/config @ 889

Last change on this file since 889 was 889, checked in by Jari Häkkinen, 12 years ago

Adding colour options for blame. Changed .am parsing codon. Inspiration to changes came from toy project.

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1### $Id: config 889 2009-11-25 07:47:57Z jari $
2### This file configures various behaviors for svndigest
3### The commented-out below are intended to demonstrate how to use
4### this file.
5
6### Section for setting behaviour of copyright update
7[copyright]
8# if true svndigest will warn if file has no copyright statement.
9missing-copyright-warning = no
10
11### Section for setting aliases used in copyright update
12[copyright-alias]
13# jdoe = John Doe
14jari = Jari Häkkinen
15peter = Peter Johansson
16
17### Section for author color in blame output
18[author-color]
19# jdoe = 000000
20jari = 0000aa
21peter = aa0000
22
23### Section for setting trac environment
24[trac]
25# If trac-root is set, svndigest will create anchors to the Trac page.
26# trac-root = http://dev.thep.lu.se/svndigest/
27trac-root = http://dev.thep.lu.se/svndigest/
28
29### Section for setting dictionary for file names.
30### Prior looking for file name pattern in section [parsing-codons],
31### the file name may be translated according to the rules
32### in this section. In default setting there is, for example,
33### a rule to translate `<FILENAME>.in' to `<FILENAME>'.
34### The format of the entries is:
35###    file-name-pattern = new-name
36### Left hand side may contain wildcards (such as '*' and '?').
37### Right hand side may contain "$i", which will be replaced
38### with the ith wild card in lhs string.
39[file-name-dictionary]
40*.in = $1
41
42### Section for setting parsing modes
43### The format of the entries is:
44###   file-name-pattern = "start-code" : "end-code"
45### The file-name-pattern may contain wildcards (such as '*' and '?').
46### String "\n" can be used for codons containing newline
47### character.
48[parsing-codons]
49*.ac = "#":"\n"  ;  "dnl":"\n"
50*.am = "#":"\n"  ;  "dnl":"\n"
51*.m4 = "#":"\n"  ;  "dnl":"\n"
52*.c = "//":"\n"  ;  "/*":"*/"
53*.cc = "//":"\n"  ;  "/*":"*/"
54*.cpp = "//":"\n"  ;  "/*":"*/"
55*.cxx = "//":"\n"  ;  "/*":"*/"
56*.h = "//":"\n"  ;  "/*":"*/"
57*.hh = "//":"\n"  ;  "/*":"*/"
58*.hpp = "//":"\n"  ;  "/*":"*/"
59*.java = "//":"\n"  ;  "/*":"*/"
60*.pl = "#":"\n"
61*.pm = "#":"\n"
62*.sh = "#":"\n"
63*config = "#":"\n"
64bootstrap = "#":"\n"
65Makefile = "#":"\n"
66*.tex = "%":"\n"
67*.m = "%":"\n"
68*.jsp = "<!--":"-->"
69*.html = "<%--":"--%>"
70*.xml = "<!--":"-->"  ;  "<!--":"-->"
71*.xsl = "<!--":"-->"
72*.xsd = "<!--":"-->"
73*.xhtml = "<!--":"-->"
74*.shtml = "<!--":"-->"
75*.css = "<!--":"-->"
76*.rss = "<!--":"-->"
77*.sgml = "<!--":"-->"
78*.bat = "\nREM":"\n"  ;  "\nrem":"\n"
Note: See TracBrowser for help on using the repository browser.