Skip to content

Commit

Permalink
DOC: Remove documentation about nbinput and nboutput
Browse files Browse the repository at this point in the history
Those directives will probably be removed with #36.
  • Loading branch information
mgeier committed Aug 6, 2016
1 parent 11768fe commit 7251d37
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions doc/a-normal-rst-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,44 +39,6 @@ These links were created with:
* "``../``" is not allowed, you have to specify the full path even if the
current source file is in a subdirectory!

Sphinx Directives for Jupyter Notebook Cells
--------------------------------------------

For comparison, this is a "normal" Sphinx code block using ``ipython3``
syntax highlighting:

.. code-block:: ipython3
%file helloworld.py
#!/usr/bin/env python3
print('Hello, world!')
The ``nbsphinx`` extension provides custom directives to show notebook cells:

.. nbinput:: ipython3
:execution-count: 42

6 * 7

.. nboutput::
:execution-count: 42

42

This was created with

.. code-block:: rst
.. nbinput:: ipython3
:execution-count: 42
6 * 7
.. nboutput::
:execution-count: 42
42
Sphinx Directives for Info/Warning Boxes
----------------------------------------

Expand Down

0 comments on commit 7251d37

Please sign in to comment.