Skip to content

Commit 4a2d8e3

Browse files
authored
[WIP] Major revamp of documentation (#196)
* Docs WIP * add user docs * start operator docs * [wip] more docs * rearrage some developer docs * more docs * update readme * switch to pydata theme * minor changes to docs * update extending docs * update docs * minor typo
1 parent 8dde7a6 commit 4a2d8e3

40 files changed

+2135
-679
lines changed

CONTRIBUTING.rst

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Contributing to the Jupyter Server
2-
==================================
1+
General Jupyter contributor guidelines
2+
======================================
33

44
If you're reading this section, you're probably interested in contributing to
55
Jupyter. Welcome and thanks for your interest in contributing!
@@ -8,19 +8,16 @@ Please take a look at the Contributor documentation, familiarize yourself with
88
using the Jupyter Server, and introduce yourself on the mailing list and
99
share what area of the project you are interested in working on.
1010

11-
General Guidelines
12-
------------------
13-
1411
For general documentation about contributing to Jupyter projects, see the
1512
`Project Jupyter Contributor Documentation`__.
1613

1714
__ https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html
1815

1916
Setting Up a Development Environment
20-
------------------------------------
17+
====================================
2118

2219
Installing the Jupyter Server
23-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20+
-----------------------------
2421

2522
Once you have installed the dependencies mentioned above, use the following
2623
steps::
@@ -39,7 +36,7 @@ from any directory in your system with::
3936
jupyter server
4037

4138
Troubleshooting the Installation
42-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39+
--------------------------------
4340

4441
If you do not see that your Jupyter Server is not running on dev mode, it's possible that you are
4542
running other instances of Jupyter Server. You can try the following steps:
@@ -54,10 +51,7 @@ running other instances of Jupyter Server. You can try the following steps:
5451
5. Verify the installation with the steps in the previous section.
5552

5653
Running Tests
57-
-------------
58-
59-
Python Tests
60-
^^^^^^^^^^^^
54+
=============
6155

6256
Install dependencies::
6357

@@ -67,12 +61,8 @@ To run the Python tests, use::
6761

6862
pytest
6963

70-
If you want coverage statistics as well, you can run::
71-
72-
py.test --cov notebook -v
73-
74-
Building the Documentation
75-
--------------------------
64+
Building the Docs
65+
=================
7666

7767
To build the documentation you'll need `Sphinx <http://www.sphinx-doc.org/en/master/>`_,
7868
`pandoc <https://pandoc.org/>`_ and a few other packages.

README.md

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
11
# Jupyter Server
22

3-
[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
43
[![Build Status](https://github.com/jupyter/jupyter_server/workflows/CI/badge.svg)](https://github.com/jupyter/jupyter_server/actions)
54
[![Documentation Status](https://readthedocs.org/projects/jupyter-server/badge/?version=latest)](http://jupyter-server.readthedocs.io/en/latest/?badge=latest)
65

7-
The Jupyter Server provides the backend for Jupyter web applications such as
8-
the Jupyter notebook and JupyterLab.
6+
The Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and Voila.
97

10-
**jupyter_server is an early developer preview, and is not suitable for general
11-
usage yet. Features and implementation are subject to change. Please use the
12-
stable [notebook server](https://github.com/jupyter/notebook) for production
13-
usecases.**
8+
For more information, read our [documentation here](http://jupyter-server.readthedocs.io/en/latest/?badge=latest).
149

15-
Read more on the Jupyter Server [roadmap](https://github.com/jupyter/jupyter_server/issues/127).
16-
17-
## Installation
18-
19-
You can find the installation documentation for the
20-
[Jupyter platform, on ReadTheDocs](https://jupyter.readthedocs.io/en/latest/install.html).
21-
The documentation for advanced usage of Jupyter notebook can be found
22-
[here](https://jupyter-server.readthedocs.io/en/latest/).
10+
## Installation and Basic usage
2311

2412
To install the latest release locally, make sure you have
2513
[pip installed](https://pip.readthedocs.io/en/stable/installing/) and run:
@@ -54,34 +42,18 @@ Launch with:
5442

5543
$ jupyter server
5644

57-
### Running in a remote installation
58-
59-
You need some configuration before starting Jupyter server remotely. See [Running a Jupyter server](http://jupyter-server.readthedocs.io/en/stable/public_server.html).
60-
61-
## Development Installation
62-
63-
See [`CONTRIBUTING.rst`](CONTRIBUTING.rst) for how to set up a local development installation.
64-
6545
## Contributing
6646

6747
If you are interested in contributing to the project, see [`CONTRIBUTING.rst`](CONTRIBUTING.rst).
6848

69-
## Weekly Dev Meeting
70-
71-
We have videoconference meetings every week where we discuss what we have been working on and get feedback from one another.
72-
73-
Anyone is welcome to attend, if they would like to discuss a topic or just to listen in.
49+
## Team Meetings and Roadmap
7450

7551
When: Thursdays [8:00am, Pacific time](https://www.thetimezoneconverter.com/?t=8%3A00%20am&tz=San%20Francisco&)
7652
Where: [calpoly/jupyter Zoom](https://zoom.us/my/jovyan)
7753
What: [Meeting notes](https://github.com/jupyter/jupyter_server/issues/126)
7854

79-
## Resources
55+
* When: Thursdays [8:00am, Pacific time](https://www.thetimezoneconverter.com/?t=8%3A00%20am&tz=San%20Francisco&)
56+
* Where: [Jupyter Zoom](https://calpoly.zoom.us/my/jupyter)
57+
* What: [Meeting notes](https://github.com/jupyter/jupyter_server/issues/126)
8058

81-
- [Project Jupyter website](https://jupyter.org)
82-
- [Online Demo at try.jupyter.org](https://try.jupyter.org)
83-
- [Documentation for Jupyter Server](https://jupyter-server.readthedocs.io/en/latest/) [[PDF](https://media.readthedocs.org/pdf/jupyter-server/latest/jupyter-server.pdf)]
84-
- [Korean Version of Installation](https://github.com/ChungJooHo/Jupyter_Kor_doc/)
85-
- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) [[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)]
86-
- [Issues](https://github.com/jupyter/jupyter-server/issues)
87-
- [Technical support - Jupyter Google Group](https://groups.google.com/forum/#!forum/jupyter)
59+
See our tentative [roadmap here](https://github.com/jupyter/jupyter_server/issues/127).

docs/autogen_config.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
from jupyter_server.serverapp import ServerApp
55

66
header = """\
7-
.. _config:
7+
.. _other-full-config:
88
99
1010
Config file and command line options
1111
====================================
1212
1313
The Jupyter Server can be run with a variety of command line arguments.
14-
A list of available options can be found below in the :ref:`options section
14+
A list of available options can be found below in the :ref:`options section
1515
<options>`.
1616
1717
Defaults for these options can also be set by creating a file named
@@ -29,16 +29,16 @@
2929
Options
3030
-------
3131
32-
This list of options can be generated by running the following and hitting
32+
This list of options can be generated by running the following and hitting
3333
enter::
3434
35-
$ jupyter server --help
35+
$ jupyter server --help-all
3636
3737
"""
3838
try:
39-
destination = os.path.join(os.path.dirname(__file__), 'source/config.rst')
39+
destination = os.path.join(os.path.dirname(__file__), 'source/other/full-config.rst')
4040
except:
41-
destination = os.path.join(os.getcwd(), 'config.rst')
41+
destination = os.path.join(os.getcwd(), 'full-config.rst')
4242

4343
with open(destination, 'w') as f:
4444
f.write(header)

docs/doc-requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
sphinx>=1.3.6
2-
sphinx-rtd-theme
2+
git+https://github.com/pandas-dev/pydata-sphinx-theme.git@master
33
sphinxcontrib_github_alt
4+
sphinxcontrib-openapi
5+
sphinxemoji

docs/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ dependencies:
1212
- Send2Trash
1313
- prometheus_client
1414
- sphinxcontrib_github_alt
15+
- sphinxcontrib-openapi
16+
- sphinxemoji
Lines changed: 191 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)