Skip to content

Commit

Permalink
docs: add getting started for python (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgerrits authored Jul 11, 2023
1 parent e457426 commit 5c928cc
Show file tree
Hide file tree
Showing 5 changed files with 174 additions and 3 deletions.
3 changes: 3 additions & 0 deletions reductionml-python/docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ dependencies:
- python=3.10
- pip:
- furo
- myst-nb
- scikit-learn
- matplotlib
1 change: 1 addition & 0 deletions reductionml-python/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
"myst_nb"
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
154 changes: 154 additions & 0 deletions reductionml-python/docs/source/getting_started.ipynb

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions reductionml-python/docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
reductionml
===========

.. automodule:: reductionml
:members:
:undoc-members:
Install from PyPi:

.. code-block:: bash
pip install reductionml
.. toctree::
:hidden:

getting_started
reference
6 changes: 6 additions & 0 deletions reductionml-python/docs/source/reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Reference
=========

.. automodule:: reductionml
:members:
:undoc-members:

0 comments on commit 5c928cc

Please sign in to comment.