sphinx-d2lang/sphinx_d2lang/__init__.py

9 lines
245 B
Python
Raw Normal View History

2023-12-09 23:11:43 +01:00
from .d2lang import D2langDirective
def setup(application: Sphinx) -> Dict[str, Any]:
"""
setup extension.
"""
application.add_directive('d2lang', D2langDirective)
return {"version": __version__, "parallel_read_safe": True}