Skip to content

Commit

Permalink
Added tutorial ipynb to docs
Browse files Browse the repository at this point in the history
- Tutorial is from TVS colloquium
- Also renamed usage to quick start
  • Loading branch information
sidchaini committed Dec 5, 2024
1 parent 0b3f2a1 commit 195263c
Show file tree
Hide file tree
Showing 5 changed files with 1,939 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_favicon"]
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_favicon", "nbsphinx"]

templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "**.ipynb_checkpoints"]
Expand Down
20 changes: 16 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ To install DistClassiPy, run the following command:
pip install distclassipy
Usage
Quick Start
-----

Here's a quick example to get you started with DistClassiPy:
Here's a quick start guide to using DistClassiPy:

.. code-block:: python
Expand Down Expand Up @@ -64,8 +64,20 @@ API Documentation
-----------------

.. toctree::
:maxdepth: 2
:maxdepth: 1
:caption: Get Started

tutorial

.. toctree::
:maxdepth: 1
:caption: API Reference

classifier
distances
distances

.. toctree::
:maxdepth: 1
:caption: Index

genindex
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ myst_parser
sphinx-book-theme
sphinx-favicon
sphinx-copybutton
nbsphinx
1,912 changes: 1,912 additions & 0 deletions docs/tutorial.ipynb

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _tutorial:

Tutorial
========

.. toctree::
:maxdepth: 2

.. nbsphinx:: tutorial.ipynb

0 comments on commit 195263c

Please sign in to comment.