Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Commit 78be423

Browse files
Merge pull request #12 from WilliamOtieno/develop
docs
2 parents bea9f68 + 368d7e0 commit 78be423

File tree

4 files changed

+42
-22
lines changed

4 files changed

+42
-22
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ sphinx:
2727
# Optional but recommended, declare the Python requirements required
2828
# to build your documentation
2929
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30-
# python:
31-
# install:
32-
# - requirements: docs/requirements.txt
30+
python:
31+
install:
32+
- requirements: ./requirements.txt

docs/conf.py

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,22 @@
1111
sys.path.insert(0, os.path.abspath(".."))
1212

1313

14-
project = 'python-flutterwave'
15-
copyright = '2024, William Otieno'
16-
author = 'William Otieno'
17-
release = '1.2.1'
14+
project = "python-flutterwave"
15+
copyright = "2024, William Otieno"
16+
author = "William Otieno"
17+
release = "1.2.1"
1818

1919
# -- General configuration ---------------------------------------------------
2020
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2121

22-
extensions = [
23-
"sphinx.ext.todo",
24-
"sphinx.ext.viewcode",
25-
"sphinx.ext.autodoc"
26-
]
27-
28-
templates_path = ['_templates']
29-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
22+
extensions = ["sphinx.ext.todo", "sphinx.ext.viewcode", "sphinx.ext.autodoc"]
3023

24+
templates_path = ["_templates"]
25+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
3126

3227

3328
# -- Options for HTML output -------------------------------------------------
3429
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3530

36-
html_theme = 'sphinx_rtd_theme'
37-
html_static_path = ['_static']
31+
html_theme = "sphinx_rtd_theme"
32+
html_static_path = ["_static"]
Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
"""
22
The charge APIs help you to collect payments using different payment methods.
33
"""
4-
from .bank import *
5-
from .card import *
6-
from .mobile import *
7-
from .validation import *
4+
from .bank import (
5+
initiate_bank_charge,
6+
initiate_uk_eu_bank_charge,
7+
initiate_ach_bank_charge,
8+
initiate_nigeria_bank_charge
9+
)
10+
from .card import initiate_card_charge
11+
from .mobile import (
12+
initiate_ussd_charge,
13+
initiate_mpesa_charge,
14+
initiate_enaira_charge,
15+
initiate_paypal_charge,
16+
initiate_apple_pay_charge,
17+
initiate_fawry_pay_charge,
18+
initiate_google_pay_charge,
19+
initiate_ghana_mobile_charge,
20+
initiate_uganda_mobile_charge,
21+
initiate_franco_mobile_charge,
22+
initiate_rwanda_mobile_charge,
23+
initiate_zambia_mobile_charge,
24+
initiate_tanzania_mobile_charge
25+
)
26+
from .validation import validate_charge
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
"""
22
Tokenize your customers' cards with Flutterwave for faster payments.
33
"""
4-
from .tokenized_charge import *
4+
from .tokenized_charge import (
5+
initiate_tokenized_charge,
6+
initiate_bulk_tokenized_charges,
7+
fetch_bulk_tokenized_charges,
8+
fetch_bulk_tokenized_charges_status,
9+
update_card_token
10+
)

0 commit comments

Comments
 (0)