X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/138d74a3457378ca0f684654f7cc4d6b8ce0301a..d8002953e29e7fb5e7c844a2f7c911970d8c6bb5:/docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 5528ca6..44577df 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,9 @@ # -*- coding: utf-8 -*- +# SPDX-FileCopyrightText: 2020 ladyada for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import os import sys @@ -23,9 +27,8 @@ extensions = [ # autodoc module docs will fail to generate with a warning. # autodoc_mock_imports = ["digitalio", "busio"] - intersphinx_mapping = { - "python": ("https://docs.python.org/3.4", None), + "python": ("https://docs.python.org/3.7", None), "CircuitPython": ("https://circuitpython.readthedocs.io/en/latest/", None), } @@ -78,6 +81,9 @@ default_role = "any" # add_function_parentheses = True +# Generate the class documentation from both the class docstring and the __init__ docstring +autoclass_content = "both" + # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx"