mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-27 03:20:27 +08:00
Miscellaneous doc updates and warning-squashing
This commit is contained in:
parent
b9c88fdf84
commit
89c4defaf2
@ -43,6 +43,7 @@ extensions = [
|
||||
'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.
|
||||
|
@ -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
|
||||
|
@ -65,14 +65,14 @@ 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.
|
||||
|
||||
@ -80,7 +80,7 @@ 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
|
||||
@ -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.
|
||||
@ -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>`_.
|
||||
|
@ -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/
|
||||
@ -24,11 +24,11 @@ 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:
|
||||
@ -36,7 +36,7 @@ hashed password using the function :func:`IPython.lib.security.passwd`:
|
||||
|
||||
.. 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user