Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/api/country.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# country

::: validators.country.calling_code
::: validators.country.country_code
::: validators.country.currency
7 changes: 7 additions & 0 deletions docs/api/country.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
country
-------

.. module:: validators.country
.. autofunction:: calling_code
.. autofunction:: country_code
.. autofunction:: currency
3 changes: 0 additions & 3 deletions docs/api/country_code.md

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/country_code.rst

This file was deleted.

2 changes: 1 addition & 1 deletion mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ nav:
- api/between.md
- api/btc_address.md
- api/card.md
- api/country_code.md
- api/country.md
- api/cron.md
- api/domain.md
- api/email.md
Expand Down
6 changes: 4 additions & 2 deletions src/validators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .between import between
from .btc_address import btc_address
from .card import amex, card_number, diners, discover, jcb, mastercard, unionpay, visa
from .country_code import country_code
from .country import calling_code, country_code, currency
from .cron import cron
from .domain import domain
from .email import email
Expand Down Expand Up @@ -37,8 +37,10 @@
"mastercard",
"visa",
"unionpay",
# ...
# country
"calling_code",
"country_code",
"currency",
# ...
"cron",
# ...
Expand Down
Loading