]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - docs/conf.py
Prepare for the removal of the max_size parameter from displayio.Group - see #67
[hackapet/Adafruit_Blinka_Displayio.git] / docs / conf.py
index 5528ca6d34a82083e69008cb7f077cef29f96a47..02e8c13767bcbda9f5bf672baf042f3aaf881c69 100644 (file)
@@ -1,5 +1,9 @@
 # -*- coding: utf-8 -*-
 
+# SPDX-FileCopyrightText: 2020 ladyada for Adafruit Industries
+#
+# SPDX-License-Identifier: MIT
+
 import os
 import sys
 
@@ -23,7 +27,6 @@ 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),
     "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"