-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sage -docbuild: error building docs of single file with relative imports #30475
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
comment:8
Sorry for a naive question. What is the primary use of the single file doc builder? I didn't have an occasion to use it myself. If the file is in the sage library, isn't it enough to use |
comment:9
I think it can be useful for users who are working on a file outside of the Sage source tree |
Follow-up from #29651:
The approach of
SingleFileBuilder
, creating a symlink to the source file, is not compatible withfrom .module import
.Example:
Instead, we should infer the fully qualified module name from the file name (see for example #30452) and import this module.
See also:
CC: @jhpalmieri @DaveWitteMorris
Component: build
Issue created by migration from https://trac.sagemath.org/ticket/30475
The text was updated successfully, but these errors were encountered: