Subversion Repositories DevTools

Rev

Rev 5209 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5209 dpurdie 1
# ------------------------------------------------------------------------
2
,	{
3
 
4
		# Server configuration subsection #
5
		#=================================#
6
 
5359 dpurdie 7
# Vix specific. State of the LXR processing
8
       'vixState'   => '@STATE@'
5209 dpurdie 9
 
5359 dpurdie 10
	, 'caption'      => '@CAPTION@'
5209 dpurdie 11
# Without the short caption the pages will not have a button header
12
#	, 'shortcaption' => '@SHORT_NAME@'
13
 
14
	, 'treename'     => '@SHORT_NAME@'
15
 
16
		# a link of the form (prefix)($filepath)(postfix) is generated when viewing a file
17
		#   example for cvsweb:
18
#	, 'cvswebprefix' => 'http://cvs.myhost.com/cgi-bin/cvsweb.cgi'
19
#	, 'cvswebpostfix' => '?cvsroot=rootname'
20
		#   example for viewcvs:
21
#	, 'cvswebprefix' => 'http://cvs.myhost.com/cgi-bin/viewcvs.cgi/myroot'
22
#	, 'cvswebpostfix' => ''
23
 
24
		# Tree location subsection #
25
		#==========================#
26
 
27
		# sourceroot - where to get the source files from
28
 
29
	, 'sourceroot' => '@RELEASE_ROOT@'
30
 
31
		# The string to display as the base part of every path in the tree
32
	, 'sourcerootname' => '$v'
33
 
34
		# Version selection subsection #
35
		#==============================#
36
 
37
	, 'variables' =>
38
 
39
			# Define typed variable "v".
40
		{ 'v' =>
41
			{ 'name' => 'Date'
42
				# This is the list of versions to index.
43
			, 'range' => [ @VERSIONS_LIST@ ]
44
				# The default version to display
45
				# If not specified, first in 'range' used
46
#			, 'default' => 'v3.1'
47
			}
48
 
49
			# Other variables may be defined for use by rewrite rules
50
			# in the subdirectory section.
51
			# These variable definitions are needed for Linux kernel
52
			# browsing. Read carefully the User's Manual.
53
			# Alternately, use template lxrkernel.conf dedicated to kernel
54
			# configuration.
55
		}
56
 
57
		# Subdirectory subsection #
58
		#=========================#
59
 
60
		# Tree-specific files to ignore (in every directory of the tree)
61
		# Extend and uncomment the following copy of the global
62
		# parameter to override:
63
#	, 'ignorefiles' =>
64
#		'^\\.|~$|\\.(o|a|orig)$|^CVS$|^core$'
65
 
66
		# Directories to always ignore. These usually are the SCM's
67
		# private directories which possibly may contain non-public
68
		# project history. Note that .xxx directories are hidden
69
		# by an internal hard-coded rule. Redundant example:
70
#	, 'ignoredirs' => ['CVSROOT', 'CVS', '.git']
71
 
72
		# Where to look for include files inside the sourcetree.
73
		# This is used to hyperlink to included files. Example:
74
#	, 'incprefix' => [ '/include', '/include/linux' ]
75
 
76
		# These do funky things to paths in the system - you probably don't need them.
77
		# They are used to simulate compiler behaviour to various options
78
		# to rewrite short paths from (#)include statement and get the
79
		# real "physical" path to the file.
80
# 	, 'maps' =>		# $a means substitute with current value of variable 'a'
81
# 			[ '/include/asm[^\/]*/' => '/include/asm-$a/'
82
# 			, '/arch/[^\/]+/'       => '/arch/$a/'
83
# 			],
84
 
85
		# Having a fully functional set of 'incprefix'/'maps' directives
86
		# for the kernel is not a trivial task. It requires defining many
87
		# auxiliary variables which are dependent on the current development
88
		# state of the kernel.
89
		# Use template lxrkernel.conf.
90
 
91
		# Data storage subsection #
92
		#=========================#
93
 
94
		# The DBI identifier for the database to use
95
		# For MySQL, the format is dbi:mysql:dbname=<name>
96
		# for Postgres, it is dbi:Pg:dbname=<name>;host=localhost
97
		# for Oracle, it is dbi:Oracle:host=localhost;sid=DEVMMS;port=1521
98
		# for SQLite, it is dbi:SQLite:dbname=<filename>
99
	, 'dbname' => 'dbi:mysql:dbname=@DBNAME@'
100
		# If you need to specify the username or password for the database connection,
101
		# uncomment the following two lines
102
#	, 'dbuser'		=> 'lxr'
103
#	, 'dbpass'		=> 'lxrpw'
104
 
105
		# If you need multiple lxr configurations in one database, set different table
106
		# prefixes for them.
107
#	, 'dbprefix'	=> 'lxr_'
108
 
109
		# The following two parameters are now automatically
110
		# generated from 'glimpsedirbase' or 'swishdirbase' and
111
		# 'virtroot'.
112
		# They may nevertheless be overridden here by uncommenting
113
		# them and filling-in an appropriate absolute path.
114
		# For using glimpse, the directory to store the .glimpse files in is required
115
#	, 'glimpsedir' => '/path/to/glimpse/databases'
116
		# Location of swish-e index database files if using swish-e
117
#	, 'swishdir' => '/path/to/swish/databases'
118
	}