Skip to content

Commit

Permalink
Merge pull request #101 from yuvipanda/convenience-docs
Browse files Browse the repository at this point in the history
Add docs on 'convenience' packages
  • Loading branch information
yuvipanda committed Feb 8, 2019
2 parents 2107810 + d47fe68 commit 79bf5e8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 12 deletions.
17 changes: 6 additions & 11 deletions contrib/README.rst → docs/convenience/new.rst
@@ -1,21 +1,16 @@
=================================
User Contributed Server Processes
=================================
.. _convenience/new:

This directory contains various python packages that can be
pip installed to get popular services that are commonly
used with jupyter-server-proxy working.

Making a new package
====================
================================
Making a new convenience package
================================

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

.. code:: bash
pip install cookiecutter
cookiecutter template
cookiecutter contrib/template -o contrib/
This should ask you a bunch of questions, and generate a directory
named after your project with a python package. From there, you should:
Expand Down
1 change: 1 addition & 0 deletions docs/convenience/packages/theia.rst
22 changes: 21 additions & 1 deletion docs/index.rst
Expand Up @@ -35,6 +35,25 @@ Contents
launchers
arbitrary-ports


Convenience packages for popular applications
=============================================

This repository contains various python packages
set up with appropriate :ref:`entrypoints <server-process/package>`
so pip installing them automatically sets up common config
for popular applications.

.. toctree::
:maxdepth: 1

convenience/packages/theia


Making and contributing a :ref:`new convenience package <convenience/new>`
is very much appreciated.


Contributing
============

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

contributing/release
contributing/release
convenience/new
2 changes: 2 additions & 0 deletions docs/server-process.rst
Expand Up @@ -196,6 +196,8 @@ if we want tighter control over what process is spawned.
in your notebook url. The URL path is specified by the key,
but this should be made more configurable in the future.

.. _server-process/package:

Specifying config from python packages
======================================

Expand Down

0 comments on commit 79bf5e8

Please sign in to comment.