Skip to content

Commit

Permalink
Miscellaneous doc updates and warning-squashing
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Aug 6, 2015
1 parent b9c88fd commit 89c4def
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'sphinx.ext.intersphinx',
'sphinx.ext.autosummary',
'sphinx.ext.mathjax',
'IPython.sphinxext.ipython_console_highlighting',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions docs/source/links.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
.. Other python projects
.. _matplotlib: http://matplotlib.org
.. _nbviewer: http://nbviewer.jupyter.org
.. _nbconvert: http://nbconvert.readthedocs.org/en/latest/

.. Other tools and projects
.. _Markdown: http://daringfireball.net/projects/markdown/syntax
Expand Down
16 changes: 7 additions & 9 deletions docs/source/notebook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@ colleagues.

Notebooks may be exported to a range of static formats, including HTML (for
example, for blog posts), reStructuredText, LaTeX, PDF, and slide shows, via
the new :ref:`nbconvert <nbconvert:index>` command.
the nbconvert_ command.

Furthermore, any ``.ipynb`` notebook document available from a public
URL can be shared via the `Jupyter Notebook Viewer <nbviewer>`_ (nbviewer_).
This service loads the notebook document from the URL and renders it as a
static web page. The results may thus be shared with a colleague, or as a
public blog post, without other users needing to install the Jupyter notebook
themselves. In effect, nbviewer_ is simply :ref:`nbconvert <nbconvert:index>` as
themselves. In effect, nbviewer_ is simply nbconvert_ as
a web service, so you can do your own static conversions with nbconvert,
without relying on nbviewer.



.. seealso::

:ref:`Details on the notebook JSON file format <nbformat:format_description>`
:ref:`Details on the notebook JSON file format <nbformat:notebook_file_format>`


Starting the notebook server
Expand Down Expand Up @@ -267,7 +267,7 @@ Raw cells

*Raw* cells provide a place in which you can write *output* directly.
Raw cells are not evaluated by the notebook.
When passed through :ref:`nbconvert <nbconvert:index>`, raw cells arrive in the
When passed through nbconvert_, raw cells arrive in the
destination format unmodified. For example, this allows you to type full LaTeX
into a raw cell, which will only be rendered by LaTeX after conversion by
nbconvert.
Expand Down Expand Up @@ -361,15 +361,13 @@ Plotting
One major feature of the Jupyter notebook is the ability to display plots that
are the output of running code cells. The IPython kernel is designed to work
seamlessly with the matplotlib_ plotting library to provide this functionality.
Specific plotting library integration is a feature of the kernel. See the
:ref:`plotting document <ipykernel:plotting>` of the IPython kernel for more
information.
Specific plotting library integration is a feature of the kernel.

Installing kernels
------------------

For information on how to install a Python kernel, refer to :ref:`IPython kernel's
installation document <ipykernel:kernel_install>`
For information on how to install a Python kernel, refer to the `IPython install
page <http://ipython.org/install.html>`__.

Kernels for other languages can be found in the `IPython wiki
<https://github.com/ipython/ipython/wiki/IPython%20kernels%20for%20other%20languages>`_.
Expand Down
8 changes: 4 additions & 4 deletions docs/source/public_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Running a notebook server
=========================


The :ref:`Jupyter notebook <notebook>` web-application is based on a
The :doc:`Jupyter notebook <notebook>` web-application is based on a
server-client structure. This server uses a :ref:`two-process kernel
architecture <ipython:ipythonzmq>` based on ZeroMQ_, as well as Tornado_ for serving
HTTP requests. By default, a notebook server runs on http://127.0.0.1:8888/
Expand All @@ -24,19 +24,19 @@ Securing a notebook server

You can protect your notebook server with a simple single password by
setting the :attr:`NotebookApp.password` configurable. You can prepare a
hashed password using the function :func:`IPython.lib.security.passwd`:
hashed password using the function :func:`notebook.auth.security.passwd`:

.. sourcecode:: ipython

In [1]: from IPython.lib import passwd
In [1]: from notebook.auth import passwd
In [2]: passwd()
Enter password:
Verify password:
Out[2]: 'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed'

.. note::

:func:`~IPython.lib.security.passwd` can also take the password as a string
:func:`~notebook.auth.security.passwd` can also take the password as a string
argument. **Do not** pass it as an argument inside an IPython session, as it
will be saved in your input history.

Expand Down

0 comments on commit 89c4def

Please sign in to comment.