Skip to content

jupyter/jupyter

master
Switch branches/tags
Code

Latest commit

Co-authored-by: elichad <eli.chadwick.256@gmail.com>
Co-authored-by: MarsBarLee <46167686+MarsBarLee@users.noreply.github.com>
Co-authored-by: Annette Greiner <amgreiner@lbl.gov>
Co-authored-by: Peyton Murray <peynmurray@gmail.com>
Co-authored-by: R Ely <rebaely@gmail.com>
Co-authored-by: Maria Jose Molina Contreras <32220621+mjmolina@users.noreply.github.com>
Co-authored-by: franzenr <87659159+franzenr@users.noreply.github.com>
Co-authored-by: gabalafou <gabriel@fouasnon.com>
Co-authored-by: Tania Allard <taniar.allard@gmail.com>
Co-authored-by: Chris Holdgraf <choldgraf@berkeley.edu>
2176bde

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Jupyter

Read this in other languages: English, Español, Português

Jupyter metapackage for installation and docs.

Documentation structure

This documentation uses the Sphinx documentation engine.

The documentation is located in the docs/source folder. When you build the documentation, it will be placed in the docs/build folder. It is written in a combination of reStructuredText and MyST Markdown.

Build the documentation locally

There are a few ways to build the documentation, see below for instructions:

Build the documentation automatically with nox

The easiest way to build the documentation locally is by using the nox command line tool. This tool makes it easy to automate commands in a repository, and we have included a docs command to quickly install the dependencies and build the the documentation.

To build and preview the site locally, follow these steps:

  1. Clone this repository.

    $ git clone https://github.com/jupyter/jupyter
    $ cd jupyter
  2. Install nox

    $ pip install nox
  3. Run the docs command

    $ nox -s docs

This will install the needed dependencies in a virtual environment using pip. It will then place the documentation in the docs/build/html folder. You may explore these HTML files in order to preview the site.

Create a live server to automatically preview changes

There is another nox command that will do the above, and also create a live server that watches your source files for changes, and auto-builds the website any time a change is made.

To start this live server, use the following nox command:

$ nox -s docs-live

When the build is finished, go to the URL that is displayed. It should show a live preview of your doucmentation.

To stop serving the website, press Ctrl-C in your terminal

Build the documentation manually

To build the documentation manually, follow these steps:

First, install the miniconda Python distribution.

Next, navigate to the /docs directory and create a conda environment:

conda env create -f environment.yml  

Activate the environment:

source activate jupyter_docs  

Build the docs using Sphinx with the following commands:

make clean  
make html

The docs will be built in build/html. They can be viewed by opening build/html/index.html or starting an HTTP server and navigating to 0.0.0.0:8000 in your web browser.

python3 -m http.server

About

Jupyter metapackage for installation, docs and chat

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages