File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ def setup(app: Sphinx):
1616 state = SphinxCodeAutoLink ()
1717 app .setup_extension ("sphinx.ext.autodoc" )
1818 app .add_css_file ("sphinx-codeautolink.css" )
19- app .connect ("build-finished" , _copy_styles )
2019 app .add_config_value (
2120 "codeautolink_autodoc_inject" , default = False , rebuild = "html" , types = [bool ]
2221 )
@@ -81,10 +80,3 @@ def setup(app: Sphinx):
8180 backref .SummaryNode , html = (backref .visit_summary , backref .depart_summary )
8281 )
8382 return {"version" : __version__ , "env_version" : 1 , "parallel_read_safe" : True }
84-
85-
86- def _copy_styles (app , exc ):
87- if app .builder .format == "html" and not exc :
88- css_name = "sphinx-codeautolink.css"
89- css_file = files ("sphinx_codeautolink.static" ).joinpath (css_name )
90- copyfile (css_file , app .outdir / "_static" / css_name )
You can’t perform that action at this time.
0 commit comments