#16136: Prevent user from doing stupid thing with the doc building system
-------------------------------------+-------------------------------------
       Reporter:  hivert             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  documentation      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Florent Hivert     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/hivert/prevent_user_from_doing_stupid_thing_with_the_doc_building_system|  
3bbfb3b41ebc72bb29adda5326ce9f0037814fdb
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Florent Hivert', 'oldvalue': ''}):

 * status:  new => needs_review
 * author:   => Florent Hivert
 * component:  PLEASE CHANGE => documentation
 * commit:   => 3bbfb3b41ebc72bb29adda5326ce9f0037814fdb
 * type:  PLEASE CHANGE => defect


Old description:



New description:

 Right now there are at least two stupid thing the user can do which can
 get him in trouble:

 - type make in the `src/doc` directory : this **delete** the doc !
 - type `sage docbuild reference/non_existing_doc` : this will create a
 directory is the doc system that prevents the doc from compiling and which
 even `make doc-clean` doesn't remove.

 I'm adding two small safe guard to prevent those.

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=3bbfb3b41ebc72bb29adda5326ce9f0037814fdb
 3bbfb3b]||{{{Safe guard against wrong doc build command}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/16136#comment:2>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to