Skip to content

Commit

Permalink
Amend
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobettini committed Nov 22, 2023
1 parent 935af2f commit e57ab45
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
epub_show_urls = "footnote"


# def setup(app):
# def rst_jinja_render(app, _, source):
# rst_context = {"benchmarl": benchmarl}
# source[0] = app.builder.templates.render_string(source[0], rst_context)
#
# app.connect("source-read", rst_jinja_render)
def setup(app):
def rst_jinja_render(app, _, source):
rst_context = {"benchmarl": benchmarl}
source[0] = app.builder.templates.render_string(source[0], rst_context)

app.connect("source-read", rst_jinja_render)

0 comments on commit e57ab45

Please sign in to comment.