Skip to content

Commit 1f00827

Browse files
committed
f
1 parent d4fb0e2 commit 1f00827

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sphinx_codeautolink/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ 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))
18+
app.add_css_file("sphinx-codeautolink.css")
2019
app.connect("build-finished", _copy_styles)
2120
app.add_config_value(
2221
"codeautolink_autodoc_inject", default=False, rebuild="html", types=[bool]

0 commit comments

Comments
 (0)