File: conf.py

package info (click to toggle)
pytest-relaxed 2.0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 212 kB
  • sloc: python: 960; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 901 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
from datetime import datetime
import os
import sys


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

project = "pytest-relaxed"
year = datetime.now().year
copyright = f"{year} Jeff Forcier"

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

# Extension/theme settings
html_theme_options = {
    "description": "Relaxed pytest discovery",
    "github_user": "bitprophet",
    "github_repo": "pytest-relaxed",
    "fixed_sidebar": True,
}
html_sidebars = {
    "**": [
        "about.html",
        "navigation.html",
        "relations.html",
        "searchbox.html",
        "donate.html",
    ]
}
# TODO: make it easier to configure this and alabaster at same time, jeez
releases_github_path = "bitprophet/pytest-relaxed"