yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10299
[Branch ~yade-pkg/yade/git-trunk] Rev 3769: Fix paths to online and packaged documentation (fix url error with GUI's hyperlinks)
------------------------------------------------------------
revno: 3769
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
timestamp: Wed 2013-12-04 22:49:34 +0100
message:
Fix paths to online and packaged documentation (fix url error with GUI's hyperlinks)
modified:
gui/qt4/__init__.py
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'gui/qt4/__init__.py'
--- gui/qt4/__init__.py 2013-11-06 15:33:02 +0000
+++ gui/qt4/__init__.py 2013-12-04 21:49:34 +0000
@@ -22,13 +22,13 @@
"Number of webkit windows that will be cycled to show help on clickable objects"
webWindows=[]
"holds instances of QtWebKit windows; clicking an url will open it in the window that was the least recently updated"
-sphinxOnlineDocPath='https://www.yade-dem.org/sphinx/'
+sphinxOnlineDocPath='https://www.yade-dem.org/doc/'
"Base URL for the documentation. Packaged versions should change to the local installation directory."
import os.path
# find if we have docs installed locally from package
-sphinxLocalDocPath=yade.config.prefix+'/share/doc/yade'+yade.config.suffix+'/html/'
+sphinxLocalDocPath=yade.config.prefix+'/share/doc/yade'+yade.config.suffix+'-doc/html/'
sphinxBuildDocPath=yade.config.sourceRoot+'/doc/sphinx/_build/html/'
# we prefer the packaged documentation for this version, if installed
if os.path.exists(sphinxLocalDocPath+'/index.html'): sphinxPrefix='file://'+sphinxLocalDocPath