Commit 2722467d authored by Stefan Mauerberger's avatar Stefan Mauerberger
Browse files

Fixes source code URLs

parent d19dda86
......@@ -51,7 +51,7 @@ def linkcode_resolve(domain, info):
'''Returns external links to the source of objects'''
url = 'https://gitext.gfz-potsdam.de/arthus/pymagglobal'
filename = info['module'].replace('.', '/') + '.py'
return url + '/-/tree/master/pymagglobal/' + filename
return url + '/-/tree/master/' + filename
# -- Options for HTML output -------------------------------------------------
......
......@@ -6,6 +6,8 @@ Attributes exposed to the package
.. automodule:: pymagglobal
:members:
.. todo:: Fix URL for the package i.e. `pymagglobal/__init__.py`
Pymagglobal
***********
The core module
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment