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