- Notifications
You must be signed in to change notification settings - Fork1.5k
-
Not sure if this is a bug or whether it's specific to pyscript, pyodide, or sphinx, but I've been stuck on this for a month or so. When I use By contrast, when I use the format like what's shown inhttps://github.com/sgbaird/honegumi/blob/3be73708039b739d212e7876c7f75625664af45f/docs/pyscript.toml, I get the same error on readthedocs, but it works fine locally. Somehow, it seems these Python files are getting converted to some kind of HTML format when being copied into the virtual filesystem. Any ideas why this might be? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
-
are you sure the HTML version of those files is not just the content of a404 (Not Found) HTML page? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hmm.. good point. My instinct would be to try to capture the file contents before any errors are raised and raise a custom error with the file contents in it. I'll give this a try, but happy to hear alternatives. |
BetaWas this translation helpful?Give feedback.