#6495: Build the reference manual incrementally
---------------------------------------------------------------+------------
       Reporter:  mpatel                                       |         Owner: 
 jdemeyer                    
           Type:  enhancement                                  |        Status: 
 needs_work                  
       Priority:  major                                        |     Milestone: 
 sage-5.8                    
      Component:  documentation                                |    Resolution: 
                             
       Keywords:  days38                                       |   Work issues: 
                             
Report Upstream:  N/A                                          |     Reviewers: 
 Volker Braun, Florent Hivert
        Authors:  Mitesh Patel, John Palmieri, Florent Hivert  |     Merged in: 
                             
   Dependencies:  5.7.beta2 + #13064, #8327, #13891            |      Stopgaps: 
                             
---------------------------------------------------------------+------------

Comment (by jhpalmieri):

 So I don't know exactly what to do. We could create a script like this in
 the Sphinx spkg, and then run it as part of the installation. How does
 that sound?
 {{{
 #!python

 # Code taken from sphinx/pycode/__init__.py to generate the grammar
 pickle.

 from os import path
 from sphinx import package_dir
 from sphinx.pycode import nodes
 from sphinx.pycode.pgen2 import driver

 # load the Python grammar
 _grammarfile = path.join(package_dir, 'pycode', 'Grammar.txt')
 pygrammar = driver.load_grammar(_grammarfile)
 pydriver = driver.Driver(pygrammar, convert=nodes.convert)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6495#comment:250>
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