#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:
---------------------------------+------------------------------------------
Description changed by jhpalmieri:
Old description:
> 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:
> {{{
> $ make doc # Initial build
> [...]
>
> $ time make doc # Nothing changed
> [...]
> real 0m51.266s
> user 0m36.840s
> sys 0m10.040s
>
> $ touch devel/sage/sage/symbolic/function_factory.py
>
> $ time make doc # Just one file changed
> [...]
> building [html]: targets for 1 source files that are out of date
> updating environment: 0 added, 1 changed, 0 removed
> reading sources... [100%] sage/symbolic/function_factory
> [...]
> writing output... [ 33%] calculus
> writing output... [ 66%] index
> writing output... [100%] sage/symbolic/function_factory
> [...]
> real 1m5.918s
> user 0m51.900s
> sys 0m10.620s
> }}}
New description:
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:
{{{
$ make doc # Initial build
[...]
$ time make doc # Nothing changed
[...]
real 0m51.266s
user 0m36.840s
sys 0m10.040s
$ touch devel/sage/sage/symbolic/function_factory.py
$ time make doc # Just one file changed
[...]
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] sage/symbolic/function_factory
[...]
writing output... [ 33%] calculus
writing output... [ 66%] index
writing output... [100%] sage/symbolic/function_factory
[...]
real 1m5.918s
user 0m51.900s
sys 0m10.620s
}}}
--------
Apply [attachment:trac_14156.v2.patch].
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14156#comment:8>
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.