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"
|