slipper / example.ini

# To start this server, run the following command::
#
#   $ paster serve --reload example.ini
#
# Then, to browse the Slipper documentation using your web browser, visit
# this URL:
#
#   http://127.0.0.1:11001/slipper-dev/tip/doc/

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 11001

[app:main]
use = egg:Slipper

# Specify a reStructuredText extension to use other than .txt (such as
# .rst) by changing the 'rst_extension'.
slipper.DEFAULT.rst_extension = .txt

# Specify the cache directory to use.  (Leave commented out to use no cache)
## slipper.DEFAULT.cache_dir = %(here)s/cache

# Specify the absolute path of the stylesheet within the repository 
# to refer to in generated documents.  It is converted to a relative path
# to support URL rewriting.
#
# Comment this out to use default in-line Docutils CSS.
# You can optionally override in configuration for specific repositories.
slipper.DEFAULT.stylesheet_path = /doc/slipper.css

# Specify a location to redirect to when the top-level index is requested.
# If not specified, gives 404 NOT FOUND when top-level index is requested.
# This is useful for browsing documentation locally.
slipper.DEFAULT.index_path = /dev/tip+/doc/

# If you want certain file extensions run through Pygments when browsing,
# configure them here.  In this example, we want all '.py' files to be
# rendered using the 'python' lexer when they are accessed.  The 
# 'linenos' variant of the Pygments reStructuredText renderer causes line 
# numbers to be shown.  
# Additionally, we also want all '.txt' files to be rendered using the
# 'rst' lexer when they are accessed using the '.txt-colorized' extension.
slipper.DEFAULT.colorize = 
  .py               .py     python  linenos,
  .txt-colorized    .txt    rst

# For each repository, choose a name, then specify both the location
# of the repository on the local filesystem ('local_dir') and the base
# URL of the hgweb or hgwebdir instance you'd like each page to link
# to ('hgweb_url').
#
# For example, to define the repository 'dev':
slipper.dev.local_dir = %(here)s

# If you leave 'hgweb_url' commented out, the note pointing to the
# page source will be left out.
# 
## slipper.dev.hgweb_url = http://example.com/hg/myrepo-dev

# You can also override the 'rst_extension' and 'cache_dir' if you
# like:
## slipper.dev.rst_extension = .rst

# If you override 'colorize', it uses no values from DEFAULT, so be sure
# to specify them again.
## slipper.DEFAULT.colorize = 
##   .py               .py     python  linenos,
##   .rst-colorized    .rst    rst
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.