#14156: New docbuilder always rebuilds everything
---------------------------------+------------------------------------------
       Reporter:  jdemeyer       |         Owner:  mvngu       
           Type:  defect         |        Status:  needs_review
       Priority:  blocker        |     Milestone:  sage-5.8    
      Component:  documentation  |    Resolution:              
       Keywords:                 |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  John Palmieri  |     Merged in:              
   Dependencies:                 |      Stopgaps:              
---------------------------------+------------------------------------------

Comment (by jhpalmieri):

 Florent, sorry, I didn't realize that. So I guess the problem is not
 `multidoc_first_pass`, as you point out. But setting
 `app.config.intersphinx_mapping` definitely triggers a rebuild, so I made
 this change in conf.py:
 {{{
 #!diff
 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 `get_outdated_docs` method to the inventory builder.
 See the "v2" patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14156#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to