From e3baa4a8da220b6d0a0a2f944aee2fb588e8ac55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Tue, 9 Nov 2021 19:32:20 +0100 Subject: [PATCH] Document `mdpo2html` pre-commit hook --- docs/pre-commit-hooks.rst | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/pre-commit-hooks.rst b/docs/pre-commit-hooks.rst index 349eb7c7..5ef35ddf 100644 --- a/docs/pre-commit-hooks.rst +++ b/docs/pre-commit-hooks.rst @@ -100,3 +100,35 @@ md2po2md .. seealso:: * :ref:`md2po2md CLI` + +mdpo2html +========= + +.. code-block:: yaml + + - repo: https://github.com/mondeja/mdpo + rev: v0.3.74 + hooks: + - id: mdpo2html + files: ^README\.html + args: + - -p + - README.po + - -s + - README.es.html + +.. code-block:: yaml + + - repo: https://github.com/mondeja/mdpo + rev: v0.3.74 + hooks: + - id: mdpo2html + args: + - README.html + - -p + - README.po + - -s + - README.es.html + +.. seealso:: + * :ref:`mdpo2html CLI`