Skip to content

Commit

Permalink
deploy: 5f49d54
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Nov 16, 2024
1 parent 79cf9ba commit 5b37a2d
Show file tree
Hide file tree
Showing 51 changed files with 356 additions and 142 deletions.
2 changes: 1 addition & 1 deletion latest/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8f44984a5d99c5df3f8aa084b8d73c1c
config: f24b237d6bc32d75bb8dba9c21cad44a
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified latest/.doctrees/api.doctree
Binary file not shown.
Binary file modified latest/.doctrees/changelog.doctree
Binary file not shown.
Binary file modified latest/.doctrees/cli.doctree
Binary file not shown.
Binary file modified latest/.doctrees/dev/reference/mdpo.cli.doctree
Binary file not shown.
Binary file modified latest/.doctrees/dev/reference/mdpo.io.doctree
Binary file not shown.
Binary file modified latest/.doctrees/dev/reference/mdpo.md2po2md.doctree
Binary file not shown.
Binary file modified latest/.doctrees/dev/reference/mdpo.po.doctree
Binary file not shown.
Binary file modified latest/.doctrees/dev/reference/mdpo.po2md.__main__.doctree
Binary file not shown.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
Binary file modified latest/.doctrees/pre-commit-hooks.doctree
Binary file not shown.
16 changes: 8 additions & 8 deletions latest/_sources/pre-commit-hooks.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ so you don't need to specify them.
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: md2po
args:
Expand All @@ -32,7 +32,7 @@ so you don't need to specify them.
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: md2po
files: ^README\.md
Expand All @@ -53,7 +53,7 @@ po2md
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: po2md
args:
Expand All @@ -68,7 +68,7 @@ po2md
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: po2md
files: ^README\.md
Expand All @@ -91,7 +91,7 @@ md2po2md
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: md2po2md
args:
Expand All @@ -107,7 +107,7 @@ md2po2md
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: md2po2md
files: ^README\.md
Expand All @@ -126,7 +126,7 @@ mdpo2html
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: mdpo2html
args:
Expand All @@ -141,7 +141,7 @@ mdpo2html
.. code-block:: yaml
- repo: https://github.com/mondeja/mdpo
rev: v2.1.0
rev: v2.1.2
hooks:
- id: mdpo2html
files: ^README\.html
Expand Down
2 changes: 1 addition & 1 deletion latest/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '2.1.0',
VERSION: '2.1.2',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
9 changes: 6 additions & 3 deletions latest/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Public mdpo APIs &mdash; mdpo 2.1.0 documentation</title>
<title>Public mdpo APIs &mdash; mdpo 2.1.2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/custom.css" />
Expand All @@ -17,7 +17,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=20623aea"></script>
<script src="_static/documentation_options.js?v=b3e23499"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down Expand Up @@ -319,7 +319,7 @@ <h2>md2po2md<a class="headerlink" href="#md2po2md" title="Link to this heading">
<p>Markdown to PO file to Markdown translator.</p>
<dl class="py function">
<dt class="sig sig-object py">
<span class="sig-prename descclassname"><span class="pre">mdpo.md2po2md.</span></span><span class="sig-name descname"><span class="pre">markdown_to_pofile_to_markdown</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">langs</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">input_paths_glob</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_paths_schema</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extensions</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">['collapse_whitespace',</span> <span class="pre">'tables',</span> <span class="pre">'strikethrough',</span> <span class="pre">'tasklists',</span> <span class="pre">'latex_math_spans',</span> <span class="pre">'wikilinks']</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">command_aliases</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">location</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">debug</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">po_wrapwidth</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">78</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">md_wrapwidth</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">80</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">po_encoding</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">md_encoding</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">include_codeblocks</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">md2po_kwargs</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">po2md_kwargs</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">_check_saved_files_changed</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span></dt>
<span class="sig-prename descclassname"><span class="pre">mdpo.md2po2md.</span></span><span class="sig-name descname"><span class="pre">markdown_to_pofile_to_markdown</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">langs</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">input_paths_glob</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_paths_schema</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">extensions</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">['collapse_whitespace',</span> <span class="pre">'tables',</span> <span class="pre">'strikethrough',</span> <span class="pre">'tasklists',</span> <span class="pre">'latex_math_spans',</span> <span class="pre">'wikilinks']</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">command_aliases</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">location</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">debug</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">po_wrapwidth</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">78</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">md_wrapwidth</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">80</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">po_encoding</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">md_encoding</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">include_codeblocks</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">md2po_kwargs</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">po2md_kwargs</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">_check_saved_files_changed</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">no_obsolete</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">no_fuzzy</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">no_empty_msgstr</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span></dt>
<dd><p>Translate a set of Markdown files using PO files.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
Expand Down Expand Up @@ -367,6 +367,9 @@ <h2>md2po2md<a class="headerlink" href="#md2po2md" title="Link to this heading">
<code class="docutils literal notranslate"><span class="pre">markdown_to_pofile</span></code> function.</p></li>
<li><p><strong>po2md_kwargs</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.13)"><em>dict</em></a>) – Additional optional arguments passed to
<code class="docutils literal notranslate"><span class="pre">pofile_to_markdown</span></code> function.</p></li>
<li><p><strong>no_obsolete</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If <code class="docutils literal notranslate"><span class="pre">True</span></code>, check for obsolete entries in PO files.</p></li>
<li><p><strong>no_fuzzy</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If <code class="docutils literal notranslate"><span class="pre">True</span></code>, check for fuzzy entries in PO files.</p></li>
<li><p><strong>no_empty_msgstr</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If <code class="docutils literal notranslate"><span class="pre">True</span></code>, check for empty <code class="docutils literal notranslate"><span class="pre">msgstr</span></code> entries.</p></li>
</ul>
</dd>
</dl>
Expand Down
30 changes: 17 additions & 13 deletions latest/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Changelog &mdash; mdpo 2.1.0 documentation</title>
<title>Changelog &mdash; mdpo 2.1.2 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="_static/custom.css" />
Expand All @@ -17,7 +17,7 @@

<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=20623aea"></script>
<script src="_static/documentation_options.js?v=b3e23499"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/js/theme.js"></script>
Expand Down Expand Up @@ -65,6 +65,8 @@
<li class="toctree-l1"><a class="reference internal" href="api.html">Public mdpo APIs</a></li>
<li class="toctree-l1"><a class="reference internal" href="pre-commit-hooks.html">pre-commit hooks</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Changelog</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#release-v2-1-2">v2.1.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v2-1-1">v2.1.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v2-1-0">v2.1.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v2-0-1">v2.0.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v2-0-0">v2.0.0</a></li>
Expand Down Expand Up @@ -163,8 +165,6 @@
<li class="toctree-l2"><a class="reference internal" href="#release-v0-3-4">v0.3.4</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v0-3-3">v0.3.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v0-3-2">v0.3.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v0-3-1">v0.3.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="#release-v0-3-0">v0.3.0</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -201,6 +201,18 @@

<section id="changelog">
<h1>Changelog<a class="headerlink" href="#changelog" title="Link to this heading"></a></h1>
<section id="release-v2-1-2">
<h2>v2.1.2<a class="headerlink" href="#release-v2-1-2" title="Link to this heading"></a></h2>
<p><em>Released on 2024-11-16 - <a class="reference external" href="https://github.com/mondeja/mdpo/releases/tag/v2.1.2">GitHub</a> - <a class="reference external" href="https://pypi.org/project/mdpo/v2.1.2/">PyPI</a></em></p>
<p>Bump version</p></section>
<section id="release-v2-1-1">
<h2>v2.1.1<a class="headerlink" href="#release-v2-1-1" title="Link to this heading"></a></h2>
<p><em>Released on 2024-11-16 - <a class="reference external" href="https://github.com/mondeja/mdpo/releases/tag/v2.1.1">GitHub</a> - <a class="reference external" href="https://pypi.org/project/mdpo/v2.1.1/">PyPI</a></em></p>
<h2>New features</h2>
<ul>
<li>Add <code>--no-obsolete</code> flag to <code>md2po</code>, <code>po2md</code> and <code>md2po2md</code> CLIs to exit with code 3 when an obsolete entry is found in translations.</li>
<li>Add <code>--no-empty-msgstr</code> flag to <code>md2po</code>, <code>po2md</code> and <code>md2po2md</code> CLIs to exit with code 4 when an empty msgstr is found in translations.</li>
</ul></section>
<section id="release-v2-1-0">
<h2>v2.1.0<a class="headerlink" href="#release-v2-1-0" title="Link to this heading"></a></h2>
<p><em>Released on 2024-11-11 - <a class="reference external" href="https://github.com/mondeja/mdpo/releases/tag/v2.1.0">GitHub</a> - <a class="reference external" href="https://pypi.org/project/mdpo/v2.1.0/">PyPI</a></em></p>
Expand All @@ -215,7 +227,7 @@ <h2>Bug fixes</h2>
msgstr &quot;&quot;"><pre><span class="pl-k">msgid</span> <span class="pl-s">"a^2 + b^2 = c^2"</span>
<span class="pl-k">msgstr</span> <span class="pl-s">""</span></pre></div>
<h2>Enhancements</h2>
<p>Standalone pre-built binaries are now provided for most common architectures. Download all <code>md2po</code>, <code>po2md</code>, <code>md2po2md</code> and <code>mdpo2html</code> standalone binaries executable from release assets below.</p></section>
<p>Standalone pre-built binaries are now provided for most common architectures. Download all <code>md2po</code>, <code>po2md</code>, <code>md2po2md</code> and <code>mdpo2html</code> standalone binaries executables from release assets below.</p></section>
<section id="release-v2-0-1">
<h2>v2.0.1<a class="headerlink" href="#release-v2-0-1" title="Link to this heading"></a></h2>
<p><em>Released on 2024-05-01 - <a class="reference external" href="https://github.com/mondeja/mdpo/releases/tag/v2.0.1">GitHub</a> - <a class="reference external" href="https://pypi.org/project/mdpo/v2.0.1/">PyPI</a></em></p>
Expand Down Expand Up @@ -918,14 +930,6 @@ <h2>v0.3.2<a class="headerlink" href="#release-v0-3-2" title="Link to this headi
<li>Fix bug in <code>mdpo2html</code> implementation with non-markdown attributes of links.</li>
<li>Optimize a bit.</li>
</ul></section>
<section id="release-v0-3-1">
<h2>v0.3.1<a class="headerlink" href="#release-v0-3-1" title="Link to this heading"></a></h2>
<p><em>Released on 2020-11-05 - <a class="reference external" href="https://github.com/mondeja/mdpo/releases/tag/v0.3.1">GitHub</a> - <a class="reference external" href="https://pypi.org/project/mdpo/v0.3.1/">PyPI</a></em></p>
<p>Read input from STDIN in CLI interfaces.</p></section>
<section id="release-v0-3-0">
<h2>v0.3.0<a class="headerlink" href="#release-v0-3-0" title="Link to this heading"></a></h2>
<p><em>Released on 2020-11-04 - <a class="reference external" href="https://github.com/mondeja/mdpo/releases/tag/v0.3.0">GitHub</a> - <a class="reference external" href="https://pypi.org/project/mdpo/v0.3.0/">PyPI</a></em></p>
<p>First beta release.</p></section>
</section>


Expand Down
Loading

0 comments on commit 5b37a2d

Please sign in to comment.