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

Commit

Permalink
Use jupyter-sphinx only for live doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Apr 25, 2022
1 parent a5479ba commit f5dff43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sage/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
'sphinx.ext.todo',
'sphinx.ext.extlinks',
'IPython.sphinxext.ipython_directive',
'matplotlib.sphinxext.plot_directive',
'jupyter_sphinx']
'matplotlib.sphinxext.plot_directive']

if os.environ.get('SAGE_LIVE_DOC', 'no') == 'yes':
extensions.append('jupyter_sphinx')

SAGE_JUPYTER_SERVER = os.environ.get('SAGE_JUPYTER_SERVER', 'binder')
if SAGE_JUPYTER_SERVER == 'binder':
jupyter_sphinx_thebelab_config = {
Expand Down

0 comments on commit f5dff43

Please sign in to comment.