File: conf.py

package info (click to toggle)
python-bottle 0.13.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,540 kB
  • sloc: python: 6,417; makefile: 70; sh: 30
file content (35 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- coding: utf-8 -*-
import sys
import os
import time

# Use the matching bottle version, not a globally installed one.
bottle_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
sys.path.insert(0, bottle_dir)
import bottle

extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
              'sphinx.ext.viewcode']
master_doc = 'index'
project = u'Bottle'
copyright = u'2009-%s, %s' % (time.strftime('%Y'), bottle.__author__)
version = ".".join(bottle.__version__.split(".")[:2])
release = bottle.__version__
add_function_parentheses = True
add_module_names = False
autodoc_member_order = 'bysource'
autodoc_class_signature = 'separated'
pygments_style = 'sphinx'
intersphinx_mapping = {'python': ('https://docs.python.org/3', None),
                       'werkzeug': ('https://werkzeug.palletsprojects.com/en/3.0.x', None)}

locale_dirs = ['_locale/']
gettext_compact = False


man_pages = [
    ('cli', 'bottle', u'command line interface', [
        u'Marcel Hellkamp',
        u'Federico Ceratto',
    ], 1)
]