Skip to content

Commit

Permalink
More documentation added
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhiggott committed Oct 26, 2020
1 parent 64c9fee commit a3793d7
Show file tree
Hide file tree
Showing 7 changed files with 654 additions and 48 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@ htmlcov

### Timing ###
timing

### Jupyter ###
.ipynb_checkpoints
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"sphinx.ext.autodoc",
'sphinx.ext.mathjax',
'sphinx.ext.napoleon',
'sphinx_rtd_theme'
'sphinx_rtd_theme',
'nbsphinx'
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Welcome to PyMatching's documentation!
:maxdepth: 2
:caption: Contents:

getting_started
installation
usage.ipynb
api


Expand Down
11 changes: 1 addition & 10 deletions docs/getting_started.rst → docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Getting Started
Installation
===============

Installing PyMatching
Expand All @@ -12,12 +12,3 @@ first clone the repository (you must use the ``--recursive`` flag)::
and then install using ``pip``::

pip install -e ./PyMatching


Usage
-----

Much of the functionality of PyMatching is available through the
:py:class:`pymatching.matching.Matching` class, which can be imported in Python with::

from pymatching import Matching
Loading

0 comments on commit a3793d7

Please sign in to comment.