Subversion Repositories DevTools

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# ------------------------------------------------------------------------
,       {

                # Server configuration subsection #
                #=================================#



          'caption'      => '@CAPTION@'
# Without the short caption the pages will not have a button header
#       , 'shortcaption' => '@SHORT_NAME@'

        , 'treename'     => '@SHORT_NAME@'

                # a link of the form (prefix)($filepath)(postfix) is generated when viewing a file
                #   example for cvsweb:
#       , 'cvswebprefix' => 'http://cvs.myhost.com/cgi-bin/cvsweb.cgi'
#       , 'cvswebpostfix' => '?cvsroot=rootname'
                #   example for viewcvs:
#       , 'cvswebprefix' => 'http://cvs.myhost.com/cgi-bin/viewcvs.cgi/myroot'
#       , 'cvswebpostfix' => ''

                # Tree location subsection #
                #==========================#

                # sourceroot - where to get the source files from

        , 'sourceroot' => '@RELEASE_ROOT@'

                # The string to display as the base part of every path in the tree
        , 'sourcerootname' => '$v'

                # Version selection subsection #
                #==============================#

        , 'variables' =>

                        # Define typed variable "v".
                { 'v' =>
                        { 'name' => 'Date'
                                # This is the list of versions to index.
                        , 'range' => [ @VERSIONS_LIST@ ]
                                # The default version to display
                                # If not specified, first in 'range' used
#                       , 'default' => 'v3.1'
                        }

                        # Other variables may be defined for use by rewrite rules
                        # in the subdirectory section.
                        # These variable definitions are needed for Linux kernel
                        # browsing. Read carefully the User's Manual.
                        # Alternately, use template lxrkernel.conf dedicated to kernel
                        # configuration.
                }

                # Subdirectory subsection #
                #=========================#

                # Tree-specific files to ignore (in every directory of the tree)
                # Extend and uncomment the following copy of the global
                # parameter to override:
#       , 'ignorefiles' =>
#               '^\\.|~$|\\.(o|a|orig)$|^CVS$|^core$'

                # Directories to always ignore. These usually are the SCM's
                # private directories which possibly may contain non-public
                # project history. Note that .xxx directories are hidden
                # by an internal hard-coded rule. Redundant example:
#       , 'ignoredirs' => ['CVSROOT', 'CVS', '.git']

                # Where to look for include files inside the sourcetree.
                # This is used to hyperlink to included files. Example:
#       , 'incprefix' => [ '/include', '/include/linux' ]

                # These do funky things to paths in the system - you probably don't need them.
                # They are used to simulate compiler behaviour to various options
                # to rewrite short paths from (#)include statement and get the
                # real "physical" path to the file.
#       , 'maps' =>             # $a means substitute with current value of variable 'a'
#                       [ '/include/asm[^\/]*/' => '/include/asm-$a/'
#                       , '/arch/[^\/]+/'       => '/arch/$a/'
#                       ],

                # Having a fully functional set of 'incprefix'/'maps' directives
                # for the kernel is not a trivial task. It requires defining many
                # auxiliary variables which are dependent on the current development
                # state of the kernel.
                # Use template lxrkernel.conf.

                # Data storage subsection #
                #=========================#

                # The DBI identifier for the database to use
                # For MySQL, the format is dbi:mysql:dbname=<name>
                # for Postgres, it is dbi:Pg:dbname=<name>;host=localhost
                # for Oracle, it is dbi:Oracle:host=localhost;sid=DEVMMS;port=1521
                # for SQLite, it is dbi:SQLite:dbname=<filename>
        , 'dbname' => 'dbi:mysql:dbname=@DBNAME@'
                # If you need to specify the username or password for the database connection,
                # uncomment the following two lines
#       , 'dbuser'              => 'lxr'
#       , 'dbpass'              => 'lxrpw'

                # If you need multiple lxr configurations in one database, set different table
                # prefixes for them.
#       , 'dbprefix'    => 'lxr_'

                # The following two parameters are now automatically
                # generated from 'glimpsedirbase' or 'swishdirbase' and
                # 'virtroot'.
                # They may nevertheless be overridden here by uncommenting
                # them and filling-in an appropriate absolute path.
                # For using glimpse, the directory to store the .glimpse files in is required
#       , 'glimpsedir' => '/path/to/glimpse/databases'
                # Location of swish-e index database files if using swish-e
#       , 'swishdir' => '/path/to/swish/databases'
        }