-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
New docbuilder always rebuilds everything #14156
Comments
comment:1
Note that running |
Author: John Palmieri |
comment:3
I think there are two problems. First, the inventory builder did not have a working The second problem is that any change to the configuration triggers a rebuild, so passing This now works for me: I can type |
comment:4
Attachment: trac_14156.patch.gz Doesn't that open us up to races again? The We could just use an environment variable to sneak information past the command line interface... |
comment:5
It's easy enough to bypass the |
comment:6
Hi there, I'm sorry not being able to help more: this is my last message from my flat in Paris. I'm moving today and tomorrow to a suburb house and I won't have access to the network until Monday. Replying to @jhpalmieri:
This is strange. When declaring a sphinx environment variable, there is a way to tell sphinx that changing this variable triggers the rebuild. See Sphinx doc of add_config_value. Maybe I screwed up, but this shouldn't triggers rebuild. Florent |
comment:7
Florent, sorry, I didn't realize that. So I guess the problem is not diff --git a/doc/common/conf.py b/doc/common/conf.py
--- a/doc/common/conf.py
+++ b/doc/common/conf.py
@@ -630,7 +630,7 @@
# set to a temporary directory. We don't want to use intersphinx,
# etc., when doing introspection.
if app.srcdir.startswith(SAGE_DOC):
- app.add_config_value('intersphinx_mapping', {}, True)
+ app.add_config_value('intersphinx_mapping', {}, False)
app.add_config_value('intersphinx_cache_limit', 5, False)
# We do *not* fully initialize intersphinx since we call it by hand
# in find_sage_dangling_links. I'm still adding a |
This comment has been minimized.
This comment has been minimized.
comment:9
Attachment: trac_14156.v2.patch.gz Looks good to me! |
Reviewer: Volker Braun |
Merged: sage-5.8.beta2 |
comment:11
Even with this patch, rebuilding the documentation when nothing needs to be done still takes a very long time. In sage-5.7:
In sage-5.8.beta2:
Do you think this can be improved? See #14204 for a ticket. |
When running
make doc
, the whole documentation is always rebuilt, even if no source file has changed.Before #6495, only changed files would be rebuilt:
Apply attachment: trac_14156.v2.patch.
CC: @hivert @vbraun
Component: documentation
Author: John Palmieri
Reviewer: Volker Braun
Merged: sage-5.8.beta2
Issue created by migration from https://trac.sagemath.org/ticket/14156
The text was updated successfully, but these errors were encountered: