#9128: Sphinx should be aware of all.py to find its links
-------------------------------------+--------------------------------------
   Reporter:  hivert                 |       Owner:  hivert      
       Type:  enhancement            |      Status:  needs_work  
   Priority:  major                  |   Milestone:  sage-4.6.1  
  Component:  documentation          |    Keywords:  Sphinx links
     Author:  Florent Hivert         |    Upstream:  N/A         
   Reviewer:                         |      Merged:              
Work_issues:  Upgrade to Sphinx 1.0  |  
-------------------------------------+--------------------------------------

Comment(by novoselt):

 I guess it was expected: these patches do not work anymore in
 Sage-4.6.1.alpha3 due to Sphinx upgrade. On a fresh installation I got
 {{{
 novos...@sage:/scratch/novoselt/sage/devel/sage-main$ hg qapplied
 novos...@sage:/scratch/novoselt/sage/devel/sage-main$ hg qpush
 applying trac_9128-sphinx_links_all-fh.patch
 now at: trac_9128-sphinx_links_all-fh.patch
 novos...@sage:/scratch/novoselt/sage/devel/sage-main$ hg qpush
 applying trac_9128-intersphinx_python_database-fh.patch
 now at: trac_9128-intersphinx_python_database-fh.patch
 novos...@sage:/scratch/novoselt/sage/devel/sage-main$ ../../sage -b
 ...
 novos...@sage:/scratch/novoselt/sage/devel/sage-main$ ../../sage -docbuild
 reference html
 sphinx-build -b html -d
 /mnt/usb1/scratch/novoselt/sage/devel/sage/doc/output/doctrees/en/reference
 /mnt/usb1/scratch/novoselt/sage/devel/sage/doc/en/reference
 /mnt/usb1/scratch/novoselt/sage/devel/sage/doc/output/html/en/reference
 Running Sphinx v1.0.4
 loading pickled environment... done
 loading intersphinx inventory from
 /mnt/usb1/scratch/novoselt/sage/devel/sage/doc/common/python-inv.txt...
 building [html]: targets for 1 source files that are out of date
 updating environment: [extensions changed] 882 added, 0 changed, 0 removed
 reading sources... [100%] tensor
 looking for now-outdated files... none found
 pickling environment... done
 checking consistency... done
 preparing documents... done
 writing output... [  0%] coercion
 Exception occurred:
   File "/mnt/usb1/scratch/novoselt/sage/devel/sage/doc/common/conf.py",
 line 446, in find_sage_dangling_links
     modname = nodeattr['modname']
 KeyError: 'modname'
 The full traceback has been saved in /tmp/sphinx-err-5Yrzg5.log, if you
 want to report the issue to the developers.
 Please also report this if it was a user error, so that a better error
 message can be provided next time.
 Either send bugs to the mailing list at <http://groups.google.com/group
 /sphinx-dev/>,
 or report them in the tracker at
 <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
 Build finished.  The built documents can be found in
 /mnt/usb1/scratch/novoselt/sage/devel/sage/doc/output/html/en/reference
 }}}

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

Reply via email to