File: conf.py

package info (click to toggle)
python-wakeonlan 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: python: 514; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 616 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
"""
Configuration for the documentation generation.

"""
import pkg_resources


project = "wakeonlan"
_dist = pkg_resources.get_distribution(project)

version = _dist.version
release = _dist.version
copyright = "2012, Remco Haszing"


extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.intersphinx",
    "sphinx.ext.napoleon",
    "sphinx_rtd_theme",
]

intersphinx_mapping = {
    "python": ("https://docs.python.org/3.11", None),
}

nitpick_ignore = [("py:class", "socket.AddressFamily")]

nitpicky = True

default_role = "any"
todo_include_todos = True

master_doc = "index"
html_theme = "sphinx_rtd_theme"