File: conf.py

package info (click to toggle)
python-releases 2.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: python: 1,580; makefile: 11
file content (27 lines) | stat: -rw-r--r-- 591 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
import os
import sys

import sphinx_rtd_theme


extensions = []
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"

project = "Releases"
copyright = "2015 Jeff Forcier"

# Ensure project directory is on PYTHONPATH for version, autodoc access
sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), "..")))

exclude_patterns = ["_build"]

# RTD theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Dogfood
extensions.append("releases")
releases_github_path = "bitprophet/releases"
releases_supported_versions = [2]