Skip to content

Commit

Permalink
Started writing Sphinx documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JonjonHays committed May 11, 2019
1 parent 551ab57 commit 83f97bd
Show file tree
Hide file tree
Showing 61 changed files with 16,051 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A JupyterLab extension that interfaces with the Slurm Workload Manager,
providing simple and intuitive controls for viewing and managing jobs on the queue.

![Slurm Extension](./slurm.png)
![Slurm Extension](./docs/images/slurm.png)

## Prerequisites

Expand Down
19 changes: 19 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Binary file not shown.
Binary file added docs/_build/doctrees/contents/development.doctree
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/doctrees/contents/overview.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/contents/usage.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/_build/doctrees/index.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a5997e5d4544ee8c5ab75e41174603bb
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added docs/_build/html/.nojekyll
Empty file.
File renamed without changes
4 changes: 4 additions & 0 deletions docs/_build/html/_sources/contents/configuration.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _configuration:

Configuration
-------------
4 changes: 4 additions & 0 deletions docs/_build/html/_sources/contents/development.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _development:

Development
------------
37 changes: 37 additions & 0 deletions docs/_build/html/_sources/contents/installation.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.. _installation:

Installation
------------

The jupyterlab-slurm extension requires both a client-side `JupyterLab extension <https://www.npmjs.com/package/jupyterlab-slurm>`__ and a server-side
Jupyter `notebook server extension <https://pypi.org/project/jupyterlab-slurm/>`__.

Prerequisites
~~~~~~~~~~~~~
Make sure you have the following prerequisites installed on your system before getting started.

* JupyterLab >= 0.35
* Node.js 5+
* Slurm

Install the notebook server extension from PyPi using ``pip``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
pip install jupyterlab_slurm
If you are running Notebook 5.2 or earlier, enable the server extension by running

.. code:: bash
jupyter serverextension enable --py --sys-prefix jupyterlab_slurm
Install the JupyterLab extension from NPM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
jupyter labextension install jupyterlab-slurm
Now you should be all set. After launching JupyterLab, the extension can be found in the command palette under
the name ``Slurm Queue Manager``, and is listed under the ``HPC TOOLS`` section
of the palette and the launcher.
4 changes: 4 additions & 0 deletions docs/_build/html/_sources/contents/overview.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _overview:

Overview
--------
4 changes: 4 additions & 0 deletions docs/_build/html/_sources/contents/usage.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _usage:

Usage
-----
32 changes: 32 additions & 0 deletions docs/_build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. jupyterlab-slurm documentation master file, created by
sphinx-quickstart on Sun Feb 17 22:59:14 2019.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to jupyterlab-slurm's documentation
============================================

A JupyterLab extension that interfaces with the Slurm Workload Manager,
providing simple and intuitive controls for viewing and managing jobs on the queue.

.. image:: ./images/slurm.png
:align: center

.. toctree::
:maxdepth: 2
:caption: Contents:

contents/overview
contents/installation
contents/usage
contents/configuration
contents/development



Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Binary file added docs/_build/html/_static/ajax-loader.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83f97bd

Please sign in to comment.