#6605: [with patch, needs review] sage -docbuild DOC FORMAT should do better
error
checking on DOC
---------------------------+------------------------------------------------
Reporter: jhpalmieri | Owner: jhpalmieri
Type: defect | Status: assigned
Priority: major | Milestone: sage-4.1.1
Component: documentation | Keywords:
Reviewer: | Author: John Palmieri
Merged: |
---------------------------+------------------------------------------------
Comment(by mpatel):
The patch works for me. I think a non-zero exit value is the UNIX
convention for an error. I can make an updated patch. Or I can wait for
more feedback on #6187.
Notes for other potential tickets:
* We could also print a similar message in the less severe case of an
invalid format.
* Instead of using [http://docs.python.org/library/sys.html#sys.exit
sys.exit()], we could raise (and catch) some exception, so that the
builder can loop over documents, formats, and commands, printing warnings
as necessary. At the moment, though, this feature is not implemented.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6605#comment:2>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---