Skip to content

Commit

Permalink
Merge pull request #639 from jGaboardi/fix_conf
Browse files Browse the repository at this point in the history
prepare for v1.6.2 release
  • Loading branch information
jGaboardi authored Jun 28, 2021
2 parents 42c9fb3 + 1d61790 commit b175c23
Show file tree
Hide file tree
Showing 14 changed files with 987 additions and 988 deletions.
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ def setup(app):

# This is processed by Jinja2 and inserted before each notebook
nbsphinx_prolog = r"""
{% set docname = env.doc2path(env.docname, base='') %}
{% set fullpath = env.doc2path(env.docname, base='tree/main/') %}
{% set docname = env.doc2path(env.docname, base=None) %}
.. only:: html
Expand All @@ -279,7 +278,7 @@ def setup(app):
Interactive online version:
:raw-html:`<a href="https://mybinder.org/v2/gh/pysal/spaghetti/main?filepath={{ docname }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>`
__ https://github.com/pysal/spaghetti/{{ fullpath }}
__ https://github.com/pysal/spaghetti/blob/main/{{ docname }}
.. raw:: latex
Expand Down
Loading

0 comments on commit b175c23

Please sign in to comment.