Hello,

i tried to setup Sphinx with SCons to build a set of interlinked
documentation converted from DocBook.

When trying to reference a different book with a relative path via
Intersphinx it fails to resolve the objects.inv file. Reading the
documentation I assumed this should work.

Any idea what goes wrong there?

Using Sphinx 1.1.3 on Windows Server 2008R2 with a 32-Bit Python 2.7.2.

The basic layout is like this:

 Sources:
 doc\rst\de\cdbwin\*.rst
 doc\rst\de\admin\*.rst

 Output:
 win32\debug\build\doc\html\cdbwin\<output>
 win32\debug\build\doc\html\admin\<output>

SCons runs this command in the toplevel dir:
python sphinx-build-script.py -q -b html doc\rst\de\admin
win32\debug\build\doc\html\de\admin

And it fails when building the admin part with:

Making output directory...
WARNING: intersphinx inventory '../../../html/de/cdbwin/objects.inv' not
fetchable due to <type 'exceptions.IOError'>: [
Errno 2] No such file or directory:
'D:\\sandbox\\roadside\\doc\\rst\\de\\admin\\../../../html/de/cdbwin/objects.inv'

The cdbwin\objects.inv file exists, in the output path.

My conf.py (at doc\rst\de\admin\conf.py) contains the following mapping:

intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None),
                       'usrman': ('../../../html/de/cdbwin', None)
}

Michael

-- 
Michael Schlenker
Software Architect

CONTACT Software GmbH           Tel.:   +49 (421) 20153-80
Wiener Straße 1-3               Fax:    +49 (421) 20153-41
28359 Bremen
http://www.contact.de/          E-Mail: [email protected]

Sitz der Gesellschaft: Bremen
Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe
Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" 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/sphinx-dev?hl=en.

Reply via email to