X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/138d74a3457378ca0f684654f7cc4d6b8ce0301a..b642f95603f46ad600ede2bad2de05ccc6675019:/docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 5528ca6..a8628ab 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), } @@ -56,7 +59,7 @@ release = "1.0" # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -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"