Trouble with 'build-finished' event #52
-
Hello! I am hitting an issue with this extension after the sphinx build succeeds. I figure it must have something to do with the structure of my docs. Here is a minimal project for reproducing the issue. After running the following stubby/docs > python -m sphinx source build I get ...
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in build.
Extension error (sphinx_codeautolink.extension):
Handler <bound method SphinxCodeAutoLink.apply_links of <sphinx_codeautolink.extension.SphinxCodeAutoLink object at 0x000001F935DDBE20>> for event 'build-finished' threw an exception (exception: [Errno 2] No such file or directory: 'C:\\Users\\Ryan Soklaski\\stubby\\docs\\build\\generated\\stubby.html') Without the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hmm, thanks for letting me know. For some reason it is trying to locate the wrong file. I imagine the HTML file is named |
Beta Was this translation helpful? Give feedback.
Hmm, thanks for letting me know. For some reason it is trying to locate the wrong file. I imagine the HTML file is named
stubby.func.html
, right? With a quick test I wasn't able to reproduce by just renaming a file of mine to have a double dot, but I'll have a look at the example you provided at the end of the week!