Skip to content

Commit

Permalink
BUG: Always do linking (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jun 20, 2020
1 parent c3f035f commit cf01b81
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sphinx_gallery/docs_resolv.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,12 +423,7 @@ def embed_code_links(app, exception):
if exception is not None:
return

# No need to waste time embedding hyperlinks when not running the examples
# XXX: also at the time of writing this fixes make html-noplot
# for some reason I don't fully understand
gallery_conf = app.config.sphinx_gallery_conf
if not gallery_conf['plot_gallery']:
return

# XXX: Whitelist of builders for which it makes sense to embed
# hyperlinks inside the example html. Note that the link embedding
Expand Down

0 comments on commit cf01b81

Please sign in to comment.