File: conf.py

package info (click to toggle)
python-qpageview 0.6.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 780 kB
  • sloc: python: 5,215; makefile: 22
file content (43 lines) | stat: -rw-r--r-- 1,025 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
42
43
import sys

sys.path.insert(0, "../source")
from conf import *


extensions.extend([
    "sphinx_rtd_theme",
])

html_theme = "sphinx_rtd_theme"
html_theme_path = [
    # we need the current git version of the theme, pip3 install fails...
    "/home/wilbert/src/sphinx_rtd_theme/",
]

html_logo = '_static/qp.png'

html_theme_options = {
    'canonical_url': 'https://qpageview.org/',
#    'analytics_id': 'UA-XXXXXXX-1',  #  Provided by Google in your dashboard
    'logo_only': True,
    'display_version': True,
    'prev_next_buttons_location': 'bottom',
    'style_external_links': False,
    #'style_nav_header_background': 'white',
    'style_nav_header_background': 'firebrick',
    # Toc options
    'collapse_navigation': True,
    'sticky_navigation': True,
    'navigation_depth': 4,
    'includehidden': True,
    'titles_only': False,
}

html_context = {
  'display_github': True,
  'github_user': 'frescobaldi',
  'github_repo': 'qpageview',
  'github_version': 'master',
  'conf_py_path': '/docs/source/',
}