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
8 changes: 6 additions & 2 deletions docs/api/dates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ Timezone Functionality

A timezone object for the computer's local timezone.

.. autoclass:: TimezoneTransition

Data Access
-----------

Expand Down Expand Up @@ -69,3 +67,9 @@ Basic Parsing
.. autofunction:: parse_time

.. autofunction:: parse_pattern

Exceptions
----------

.. autoexception:: ParseError
:members:
36 changes: 32 additions & 4 deletions docs/api/numbers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,47 @@ Exceptions
.. autoexception:: NumberFormatError
:members:

.. autoexception:: UnknownCurrencyError
:members:

.. autoexception:: UnknownCurrencyFormatError
:members:

.. autoexception:: UnsupportedNumberingSystemError
:members:

Data Access
-----------

.. autofunction:: get_decimal_symbol

.. autofunction:: get_exponential_symbol

.. autofunction:: get_group_symbol

.. autofunction:: get_infinity_symbol

.. autofunction:: get_minus_sign_symbol

.. autofunction:: get_plus_sign_symbol

Currency Utilities
------------------

.. autofunction:: get_currency_name

.. autofunction:: get_currency_precision

.. autofunction:: get_currency_symbol

.. autofunction:: get_currency_unit_pattern

.. autofunction:: get_decimal_symbol
.. autofunction:: get_territory_currencies

.. autofunction:: get_plus_sign_symbol
.. autofunction:: is_currency

.. autofunction:: get_minus_sign_symbol
.. autofunction:: list_currencies

.. autofunction:: get_territory_currencies
.. autofunction:: normalize_currency

.. autofunction:: validate_currency
6 changes: 6 additions & 0 deletions docs/api/plural.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ Conversion Functionality
.. autofunction:: to_python

.. autofunction:: to_gettext

Exceptions
----------

.. autoexception:: RuleError
:members:
6 changes: 6 additions & 0 deletions docs/api/units.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ locales.
.. autofunction:: format_compound_unit

.. autofunction:: get_unit_name

Exceptions
----------

.. autoexception:: UnknownUnitError
:members:
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@

# General information about the project.
project = 'Babel'
copyright = '2025, The Babel Team'
copyright = '2026, The Babel Team'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '2.17'
version = '2.18'
# The full version, including alpha/beta/rc tags.
release = '2.17.0'
release = '2.18.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sphinx~=5.3.0
Sphinx~=9.1.0
Loading