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