[issue1520] 'without make' documentation build anomaly

Tim Golden report at bugs.python.org
Mon Dec 3 12:43:40 CET 2007


Tim Golden added the comment:

The attached patch against r59286 tries to tease apart the uses of
filename by adding "webify_filepath" and "unwebify_filepath" functions
to sphinx.utils which are then used throughout the app to convert from
filesystem-separated to web-separated paths and back. A WEB_SEP constant
has been defined principally to make its purpose clear in case a
constant "/" was thought to have been a hangover from the code's *nix
origins.

The result has been tested by building manually, ie by invoking python
tools\sphinx-build.py with appropriate params under Win32 native only.
The html, web and htmlhelp versions all style up and function correctly.
It would obviously benefit from testing under Cygwin and *nix. I'm
particularly keen to see it it works on a filesystem which doesn't allow
"/" as a separator.

Added file: http://bugs.python.org/file8860/sphinx-r59286.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1520>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sphinx-r59286.patch
Type: text/x-diff
Size: 10898 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071203/46e5874a/attachment.patch 


More information about the Python-bugs-list mailing list