Bug#546612: python-sphinx: allow to check for links to external (non-sphinx-generated) files

2010-04-25 Thread Mikhail Gusarov
package python-sphinx
forwarded 546612 
http://www.bitbucket.org/birkenfeld/sphinx/issue/391/allow-to-check-for-links-to-external-non-sphinx-generated
thanks

Sorry for overlooking this bug. Finally submitted the issue upstream.

-- 
  http://fossarchy.blogspot.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#546612: python-sphinx: allow to check for links to external (non-sphinx-generated) files

2009-09-14 Thread Yaroslav Halchenko
Package: python-sphinx
Version: 0.6.3-1
Severity: wishlist


Currently if ReST source links to some location on the same website, which was
not generated by sphinx, e.g.:

.. _PDF-guide: PyMVPA-DevGuide.pdf
.. _API Reference: api/index.html

then linkcheck complaints:

index.rst:76: [malformed] PyMVPA-DevGuide.pdf
index.rst:78: [malformed] api/index.html

looking at CheckExternalLinksBuilder it seems to have no ability (yet) to check
simply either that URI leads to some local file, which is indeed present, and
thus is a legal link.

Patch I guess should be quite minimal (os.path.exists) or might be extended
with checks either it is readable/available etc.


Thanks in advance for tunneling bug appropriately if necessary ;)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-sphinx depends on:
ii  libjs-jquery  1.3.3-1JavaScript library for dynamic web
ii  python2.5.4-2An interactive high-level object-o
ii  python-docutils   0.5-3  utilities for the documentation of
ii  python-jinja2 2.1.1-2small but fast and easy to use sta
ii  python-pygments   1.0-2  syntax highlighting package writte
ii  python-support1.0.3  automated rebuilding support for P

Versions of packages python-sphinx recommends:
ii  python2.5.4-2An interactive high-level object-o
ii  python-imaging1.1.6-3Python Imaging Library
ii  python-simplejson 2.0.9-1Simple, fast, extensible JSON enco

Versions of packages python-sphinx suggests:
ii  jsmath3.6b-1 TeX equations in HTML documents

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org