Hello. Thank you for this incredibly useful codeset.

I seek to reference intersphinx objects.inv via local filepath and I am 
experiencing anomalies which I am unable to figure out. Any assistance 
would be welcome.

Two distinct projects are subfolders of  the same location, *tdoc/tdoc* and 
*tdoc/xlist*. The build environment is Windows, and v1.2.2 is in use. 
Intersphinx is enabled in both environments.

Project *tdoc*/*tdoc *refers to project *tdoc/xlist* in *tdoc/tdoc/conf.py* as 
follows:

*intersphinx_mapping = {'xlist': ('../xlist/_build/html/', None)*


Project* tdoc/xlist* has a label above the root tag:

*.. _xone: *


File *tdoc/tdoc/index.txt* refers to the xsdi

*:ref:`xONE <xlist:xone>`*


When compiling *tdoc/tdoc*. the *objects.inv* is found without issue. 

Running Sphinx v1.2.2
loading pickled environment... done
loading intersphinx inventory from *../xlist/_build/html/objects.inv...*

 
Links, however, are not built as expected.  The .. is not interpreted 
proper in the browser. The HTML <a\> builds as follows:

href="../xlist/_build/html/index.html#xone"


Which from a browser source link of:

file:///C:/Users/Matt/Code/tdoc/tdoc/_build/html/index.html 


...yields in the browser as:

file:///C:/Users/Matt/Code/tdoc/tdoc/*_build/xlist/_build/html*
/index.html#xone


This behavior carries across all tested browsers and is the same if the 
files are served via HTTP or file-based.

Please advise if there is a way to interlink by relative path over explicit 
path. 

Thanks for any time and help with this.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" 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/sphinx-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to