Skip to content

Commit

Permalink
improving granularity of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ofloveandhate committed Jul 12, 2024
1 parent 29af091 commit 93a3152
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 4 deletions.
42 changes: 42 additions & 0 deletions docs/classes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Concrete Classes
-------------------



.. autoclass:: markdown2canvas.Page
:members:
:undoc-members:


.. autoclass:: markdown2canvas.Assignment
:members:
:undoc-members:



.. autoclass:: markdown2canvas.File
:members:
:undoc-members:


.. autoclass:: markdown2canvas.BareFile
:members:
:undoc-members:







Base Classes
--------------

.. autoclass:: markdown2canvas.CanvasObject
:members:
:undoc-members:


.. autoclass:: markdown2canvas.Document
:members:
:undoc-members:
14 changes: 14 additions & 0 deletions docs/exceptions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Exceptions
-------------

.. autoclass:: markdown2canvas.AlreadyExists
:members:
:undoc-members:

.. autoclass:: markdown2canvas.SetupError
:members:
:undoc-members:

.. autoclass:: markdown2canvas.DoesntExist
:members:
:undoc-members:
3 changes: 3 additions & 0 deletions docs/free_functions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Free functions
------------------

3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ Details 📝
================

.. toctree::
:maxdepth: 0
:caption: Contents:
:maxdepth: 1

markdown2canvas

Expand Down
17 changes: 15 additions & 2 deletions docs/markdown2canvas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,18 @@ This is the detailed list of all functions and types available in the library.
Python libraries used: `canvasapi`


.. automodule:: markdown2canvas
:members:

.. toctree::
:maxdepth: 2

classes
exceptions
free_functions








0 comments on commit 93a3152

Please sign in to comment.