Skip to content

Commit d4fb0e2

Browse files
committed
f
1 parent ce63d6c commit d4fb0e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sphinx_codeautolink/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ def setup(app: Sphinx):
1515
"""Set up extension, directives and events."""
1616
state = SphinxCodeAutoLink()
1717
app.setup_extension("sphinx.ext.autodoc")
18+
css_file = Path(__file__).parent / "static" / "sphinx-codeautolink.css"
19+
app.add_css_file(str(css_file))
1820
app.connect("build-finished", _copy_styles)
1921
app.add_config_value(
2022
"codeautolink_autodoc_inject", default=False, rebuild="html", types=[bool]

0 commit comments

Comments
 (0)