Skip to content

Commit

Permalink
Merge pull request #8 from otavioon/docs
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
otavioon authored Feb 2, 2024
2 parents 5feb802 + 4875885 commit bd0cf7f
Show file tree
Hide file tree
Showing 23 changed files with 3,420 additions and 17 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: ssl_tools
name: ssl_tools documentation
on:
push:
branches:
- main
- docs

jobs:
docs:
Expand All @@ -17,6 +17,11 @@ jobs:
with:
python-version: 3.12.1

- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install requirements
run: |
pip3 install sphinx sphinx-rtd-theme sphinx-autodoc-typehints sphinx-argparse sphinx-autoapi nbsphinx pandoc Ipython
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,5 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
ssl_tools/experiments/**/logs/
data/*
data/*
notebooks/logs/*
4 changes: 4 additions & 0 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contributing
------------

Under construction...
4 changes: 4 additions & 0 deletions docs/experiments.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Running Experiments
--------------------

Under construction...
3 changes: 3 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Welcome to SSLTools's documentation!
:caption: Contents:

installation
tutorials
experiments
contributing
api


Expand Down
4 changes: 3 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Installation
-----------------
-----------------

Under construction...
7 changes: 7 additions & 0 deletions docs/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ssl_tools
=========

.. toctree::
:maxdepth: 4

ssl_tools
1 change: 1 addition & 0 deletions docs/notebooks
21 changes: 21 additions & 0 deletions docs/ssl_tools.analysis.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ssl\_tools.analysis package
===========================

Submodules
----------

ssl\_tools.analysis.plot\_metrics module
----------------------------------------

.. automodule:: ssl_tools.analysis.plot_metrics
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: ssl_tools.analysis
:members:
:undoc-members:
:show-inheritance:
13 changes: 13 additions & 0 deletions docs/tutorials.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _tutorials:

==========================
Tutorials
==========================

.. toctree::
:maxdepth: 2

notebooks/01_structuring_input.ipynb
notebooks/02_training_model.ipynb
notebooks/03_training_ssl_model.ipynb
notebooks/04_using_experiments.ipynb
Loading

0 comments on commit bd0cf7f

Please sign in to comment.