Skip to content

Commit

Permalink
Add require.js URL (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
manycoding authored and mgeier committed Jun 25, 2019
1 parent 880bf3a commit 9bcb012
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/nbsphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
RST_TEMPLATE = """
{% extends 'rst.tpl' %}
{% block header %}
.. raw:: html
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
{% endblock header %}
{% macro insert_empty_lines(text) %}
{%- set before, after = text | get_empty_lines %}
Expand Down

0 comments on commit 9bcb012

Please sign in to comment.