Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Example to embed a widget in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Nov 9, 2018
1 parent c96eff1 commit c67cd4a
Show file tree
Hide file tree
Showing 3 changed files with 1,168 additions and 27 deletions.
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@

# -- Options for HTML output ----------------------------------------------


def setup(app):
app.add_javascript("https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js")
app.add_javascript("https://unpkg.com/@jupyter-widgets/html-manager@*/dist/embed-amd.js")

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
import sphinx_rtd_theme
Expand Down
Loading

0 comments on commit c67cd4a

Please sign in to comment.