Skip to content

Commit

Permalink
respect github_url field
Browse files Browse the repository at this point in the history
  • Loading branch information
fehiepsi authored and mgeier committed May 29, 2021
1 parent b08dde7 commit 4c929a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nbsphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,11 +1051,11 @@ def parse(self, inputstring, document):

if resources.get('nbsphinx_orphan', False):
rst.Parser.parse(self, ':orphan:', document)
rst.Parser.parse(self, '.. highlight:: none', document)
if env.config.nbsphinx_prolog:
prolog = exporter.environment.from_string(
env.config.nbsphinx_prolog).render(env=env)
rst.Parser.parse(self, prolog, document)
rst.Parser.parse(self, '.. highlight:: none', document)
rst.Parser.parse(self, rststring, document)
if env.config.nbsphinx_epilog:
epilog = exporter.environment.from_string(
Expand Down

0 comments on commit 4c929a6

Please sign in to comment.