Skip to content

Commit 79bf5e8

Browse files
authored
Merge pull request #101 from yuvipanda/convenience-docs
Add docs on 'convenience' packages
2 parents 2107810 + d47fe68 commit 79bf5e8

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

contrib/README.rst renamed to docs/convenience/new.rst

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
1-
=================================
2-
User Contributed Server Processes
3-
=================================
1+
.. _convenience/new:
42

5-
This directory contains various python packages that can be
6-
pip installed to get popular services that are commonly
7-
used with jupyter-server-proxy working.
8-
9-
Making a new package
10-
====================
3+
================================
4+
Making a new convenience package
5+
================================
116

127
There is a `cookiecutter <https://github.com/audreyr/cookiecutter>`_
13-
template provided here that can be used to make new packages.
8+
template provided in this repo that can be used to make new packages.
149

1510
.. code:: bash
1611
1712
pip install cookiecutter
18-
cookiecutter template
13+
cookiecutter contrib/template -o contrib/
1914
2015
This should ask you a bunch of questions, and generate a directory
2116
named after your project with a python package. From there, you should:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../contrib/theia/README.rst

docs/index.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,25 @@ Contents
3535
launchers
3636
arbitrary-ports
3737

38+
39+
Convenience packages for popular applications
40+
=============================================
41+
42+
This repository contains various python packages
43+
set up with appropriate :ref:`entrypoints <server-process/package>`
44+
so pip installing them automatically sets up common config
45+
for popular applications.
46+
47+
.. toctree::
48+
:maxdepth: 1
49+
50+
convenience/packages/theia
51+
52+
53+
Making and contributing a :ref:`new convenience package <convenience/new>`
54+
is very much appreciated.
55+
56+
3857
Contributing
3958
============
4059

@@ -43,4 +62,5 @@ Contributions of all kinds - documentation, issues, blog posts, code, are most w
4362
.. toctree::
4463
:maxdepth: 2
4564

46-
contributing/release
65+
contributing/release
66+
convenience/new

docs/server-process.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ if we want tighter control over what process is spawned.
196196
in your notebook url. The URL path is specified by the key,
197197
but this should be made more configurable in the future.
198198

199+
.. _server-process/package:
200+
199201
Specifying config from python packages
200202
======================================
201203

0 commit comments

Comments
 (0)