File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -291,8 +291,7 @@ def setup(app):
291291
292292# This is processed by Jinja2 and inserted before each notebook
293293nbsphinx_prolog = r"""
294- {% set docname = env.doc2path(env.docname, base='') %}
295- {% set fullpath = env.doc2path(env.docname, base='tree/master/') %}
294+ {% set docname = env.doc2path(env.docname, base=None) %}
296295
297296.. only:: html
298297
@@ -305,7 +304,7 @@ def setup(app):
305304 Interactive online version:
306305 :raw-html:`<a href="https://mybinder.org/v2/gh/pysal/libpysal/master?filepath={{ docname }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>`
307306
308- __ https://github.com/pysal/libpysal/{{ fullpath }}
307+ __ https://github.com/pysal/libpysal/blob/master/ {{ docname }}
309308
310309.. raw:: latex
311310
You can’t perform that action at this time.
0 commit comments