Skip to content

Commit

Permalink
Done for today
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryAsa committed Sep 9, 2023
1 parent 9d1dbb9 commit 5d56054
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 15 deletions.
31 changes: 31 additions & 0 deletions docs/source/_images/api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/source/_images/getting_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'sphinx.ext.graphviz',
'sphinx.ext.ifconfig',
'numpydoc',
# 'sphinx_design'
'sphinx_design',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
46 changes: 43 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,56 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Documentation for Email-Rules
=============================

.. toctree::
:maxdepth: 1
:hidden:

Home Page <self>
API Reference <_autosummary/gmail_rules>


Documentation for Email-Rules
=============================
Welcome to my email rules documentation site!


.. grid:: 2

.. grid-item-card::
:img-top: ../source/_images/getting_started.svg

Getting Started
^^^^^^^^^^^^^^^

Check out the Getting Started Guide.

+++

.. button-ref:: user_guide
:expand:
:color: secondary
:click-parent:

To the beginner's guide

.. grid-item-card::
:img-top: ../source/_images/api.svg

API Reference
^^^^^^^^^^^^^

Link to the API Reference and associated documentation.

+++

.. button-ref:: _autosummary/gmail_rules
:expand:
:color: secondary
:click-parent:

To the API Reference


Indices and Tables
==================

Expand Down
7 changes: 2 additions & 5 deletions gmail_rules/actions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
"""
Initialize actions module
actions
=======
"""

from .rule_collection import Rule_Collection
from .build_xmls import build_xml_text


__all__ = [
"Rule_Collection",
]
8 changes: 2 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Required packages

setuptools
cython>=0.29.30
pkgconfig

# For type annotations
typing
mypy>=0.981
typing_extensions>=4.2.0

# For testing
pytest

# For building docs
sphinx>=4.5.0
sphinx-design
pydata-sphinx-theme
numpydoc>=1.4
pydata-sphinx-theme
sphinx-design

0 comments on commit 5d56054

Please sign in to comment.