Commit 17ecf8c3 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Mark Sphinx docstring extenstion as parallel safe

parent ce294599
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -33,8 +33,11 @@ class UnknownObject(ValueError):
	"""


def setup(app: Sphinx) -> None:
def setup(app: Sphinx) -> dict[str, object]:
	app.connect("autodoc-process-docstring", add_roles)
	return dict(
		parallel_read_safe=True,
	)


def add_roles(