Skip to content

Commit 7b4f024

Browse files
committed
changelog update
1 parent b2a1dc1 commit 7b4f024

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

docs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ update-docs:
5050
@uv run --no-sync ../manage.py list_permissions --sections roles > snippets/roles.rst
5151
@uv run --no-sync ../manage.py list_checks -s checks -o snippets/checks-autogenerated.rst
5252
@uv run --no-sync ../manage.py list_checks -s flags -o snippets/check-flags-autogenerated.rst
53+
@uv run --no-sync ../manage.py list_format_features -o snippets/format-features
5354

5455
update-po: $(wildcard locales/*/LC_MESSAGES/docs.po)
5556

docs/admin/management.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,24 @@ list_change_events
808808

809809
Lists all possible change event types.
810810

811+
list_format_features
812+
--------------------
813+
814+
.. weblate-admin:: list_format_features
815+
816+
Generates RST documentation snippets describing the supported features for every file format.
817+
818+
The command generates one file for every format, that can be found in the specified output directory.
819+
820+
.. weblate-admin-option:: --output PATH
821+
822+
Directory where the format feature snippets will be written.
823+
824+
.. note::
825+
826+
The generated documentation files are meant to be included in documentation sources such as :doc:`/formats`. See also :file:`weblate/formats/management/commands/list_format_features.py` for customization and merging logic.
827+
828+
811829
loadpo
812830
------
813831

docs/changes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Weblate 5.17
66
.. rubric:: New features
77

88
* Added :setting:`WEBSITE_ALERTS_ENABLED` setting to allow disabling project website availability checks and alerts.
9+
* Added new management command :wladmin:`list_format_features`, which generates RST documentation snippets describing the supported features for every file format.
910

1011
.. rubric:: Improvements
1112

@@ -14,6 +15,7 @@ Weblate 5.17
1415
* Improved logic for adding monolingual plurals in :doc:`/formats/gettext`.
1516
* Improved error messages in some of the :ref:`api` endpoints.
1617
* :envvar:`WEBLATE_COMMIT_PENDING_HOURS` is now available in Docker container.
18+
* Improved documentation with auto-generated snippets for :ref:`addons`, :ref:`fmt_capabs`, :ref:`checks`, and :ref:`machine-translation` machines.
1719

1820
.. rubric:: Bug fixes
1921

0 commit comments

Comments
 (0)