Skip to content

Commit

Permalink
fix small bugs + add sphinx documentation structure
Browse files Browse the repository at this point in the history
  • Loading branch information
geo-martino committed Jan 6, 2024
1 parent fb70235 commit e963955
Show file tree
Hide file tree
Showing 76 changed files with 17,493 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
run: |
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx generate structure
run: |
sphinx-apidoc -o doc src
- name: Sphinx build
run: |
sphinx-build doc _build
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ config.yml
# caches
**cache*

# build files
# build/dev directories
dist/
.grip/

# large data & log folders
_data/
Expand Down
1 change: 1 addition & 0 deletions .idea/syncify.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
print(track1, track2, track3, album, playlist, artist)
```
5. Add some tracks to a playlist in your library, synchronise with Spotify, and log the results
(assuming you chose to load your entire library or your just your playlists in step 3).
(assuming you chose to either load your entire library or just your playlists in step 3).
```python
my_playlist = library.playlists["<YOUR PLAYLIST'S NAME>"]
my_playlist.append(track1)
Expand Down
4 changes: 4 additions & 0 deletions _build/.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: 6f9d293138706817b2d16b1be9dff296
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added _build/.doctrees/environment.pickle
Binary file not shown.
Binary file added _build/.doctrees/index.doctree
Binary file not shown.
Binary file added _build/.doctrees/modules.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.abstract.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.api.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.local.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.local.library.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.local.playlist.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.local.track.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.processors.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.remote.doctree
Binary file not shown.
Binary file not shown.
Binary file added _build/.doctrees/syncify.spotify.api.doctree
Binary file not shown.
Binary file added _build/.doctrees/syncify.spotify.doctree
Binary file not shown.
Binary file not shown.
Binary file added _build/.doctrees/syncify.utils.doctree
Binary file not shown.
20 changes: 20 additions & 0 deletions _build/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.. Syncify documentation master file, created by
sphinx-quickstart on Fri Jan 5 21:58:01 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Syncify's documentation!
===================================

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



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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 7 additions & 0 deletions _build/_sources/modules.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
src
===

.. toctree::
:maxdepth: 4

syncify
45 changes: 45 additions & 0 deletions _build/_sources/syncify.abstract.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
syncify.abstract package
========================

Submodules
----------

syncify.abstract.collection module
----------------------------------

.. automodule:: syncify.abstract.collection
:members:
:undoc-members:
:show-inheritance:

syncify.abstract.enums module
-----------------------------

.. automodule:: syncify.abstract.enums
:members:
:undoc-members:
:show-inheritance:

syncify.abstract.misc module
----------------------------

.. automodule:: syncify.abstract.misc
:members:
:undoc-members:
:show-inheritance:

syncify.abstract.object module
------------------------------

.. automodule:: syncify.abstract.object
:members:
:undoc-members:
:show-inheritance:

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

.. automodule:: syncify.abstract
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions _build/_sources/syncify.api.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syncify.api package
===================

Submodules
----------

syncify.api.exception module
----------------------------

.. automodule:: syncify.api.exception
:members:
:undoc-members:
:show-inheritance:

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

.. automodule:: syncify.api
:members:
:undoc-members:
:show-inheritance:
10 changes: 10 additions & 0 deletions _build/_sources/syncify.local.library.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syncify.local.library package
=============================

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

.. automodule:: syncify.local.library
:members:
:undoc-members:
:show-inheritance:
10 changes: 10 additions & 0 deletions _build/_sources/syncify.local.playlist.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syncify.local.playlist package
==============================

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

.. automodule:: syncify.local.playlist
:members:
:undoc-members:
:show-inheritance:
39 changes: 39 additions & 0 deletions _build/_sources/syncify.local.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
syncify.local package
=====================

Subpackages
-----------

.. toctree::
:maxdepth: 4

syncify.local.library
syncify.local.playlist
syncify.local.track

Submodules
----------

syncify.local.collection module
-------------------------------

.. automodule:: syncify.local.collection
:members:
:undoc-members:
:show-inheritance:

syncify.local.exception module
------------------------------

.. automodule:: syncify.local.exception
:members:
:undoc-members:
:show-inheritance:

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

.. automodule:: syncify.local
:members:
:undoc-members:
:show-inheritance:
10 changes: 10 additions & 0 deletions _build/_sources/syncify.local.track.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syncify.local.track package
===========================

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

.. automodule:: syncify.local.track
:members:
:undoc-members:
:show-inheritance:
69 changes: 69 additions & 0 deletions _build/_sources/syncify.processors.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
syncify.processors package
==========================

Submodules
----------

syncify.processors.base module
------------------------------

.. automodule:: syncify.processors.base
:members:
:undoc-members:
:show-inheritance:

syncify.processors.compare module
---------------------------------

.. automodule:: syncify.processors.compare
:members:
:undoc-members:
:show-inheritance:

syncify.processors.exception module
-----------------------------------

.. automodule:: syncify.processors.exception
:members:
:undoc-members:
:show-inheritance:

syncify.processors.limit module
-------------------------------

.. automodule:: syncify.processors.limit
:members:
:undoc-members:
:show-inheritance:

syncify.processors.match module
-------------------------------

.. automodule:: syncify.processors.match
:members:
:undoc-members:
:show-inheritance:

syncify.processors.sort module
------------------------------

.. automodule:: syncify.processors.sort
:members:
:undoc-members:
:show-inheritance:

syncify.processors.time module
------------------------------

.. automodule:: syncify.processors.time
:members:
:undoc-members:
:show-inheritance:

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

.. automodule:: syncify.processors
:members:
:undoc-members:
:show-inheritance:
37 changes: 37 additions & 0 deletions _build/_sources/syncify.remote.processors.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
syncify.remote.processors package
=================================

Submodules
----------

syncify.remote.processors.check module
--------------------------------------

.. automodule:: syncify.remote.processors.check
:members:
:undoc-members:
:show-inheritance:

syncify.remote.processors.search module
---------------------------------------

.. automodule:: syncify.remote.processors.search
:members:
:undoc-members:
:show-inheritance:

syncify.remote.processors.wrangle module
----------------------------------------

.. automodule:: syncify.remote.processors.wrangle
:members:
:undoc-members:
:show-inheritance:

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

.. automodule:: syncify.remote.processors
:members:
:undoc-members:
:show-inheritance:
Loading

0 comments on commit e963955

Please sign in to comment.