This commit is contained in:
@@ -10,5 +10,4 @@ sphinx:
|
||||
|
||||
python:
|
||||
install:
|
||||
- path: .
|
||||
- requirements: docs/requirements.txt
|
||||
|
||||
14
docs/conf.py
14
docs/conf.py
@@ -8,7 +8,8 @@ import sys
|
||||
import tomllib
|
||||
|
||||
sys.path.insert(0, os.path.abspath("."))
|
||||
sys.path.insert(0, os.path.abspath("../."))
|
||||
sys.path.insert(0, os.path.abspath(".."))
|
||||
sys.path.insert(0, os.path.abspath("../src"))
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
||||
@@ -31,6 +32,17 @@ extensions = [
|
||||
templates_path = ["_templates"]
|
||||
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
||||
|
||||
autodoc_mock_imports = [
|
||||
"objc",
|
||||
"AppKit",
|
||||
"Cocoa",
|
||||
"Foundation",
|
||||
"Quartz",
|
||||
"PyObjCTools",
|
||||
"PySide6",
|
||||
"PyQt6",
|
||||
]
|
||||
|
||||
autodoc_default_options = {
|
||||
"members": True,
|
||||
"member-order": "bysource",
|
||||
|
||||
Reference in New Issue
Block a user