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 15c4aa5 commit 79cf9ba
Show file tree
Hide file tree
Showing 145 changed files with 18,181 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 2.1.2/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +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: 76b4d14aa6e1bc0c4ec305c50dc4b968
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added 2.1.2/.doctrees/api.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/changelog.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/cli.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/commands.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/contributing.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/implementation-notes.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.cli.doctree
Binary file not shown.
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.compat.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.event.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.io.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.md.doctree
Binary file not shown.
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.md2po.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.md4c.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.po.doctree
Binary file not shown.
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.po2md.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.polib.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/mdpo.text.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/dev/reference/modules.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/environment.pickle
Binary file not shown.
Binary file added 2.1.2/.doctrees/index.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/install.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/pre-commit-hooks.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/rationale.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/related-utilities.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/traditional-approach.doctree
Binary file not shown.
Binary file added 2.1.2/.doctrees/tutorial.doctree
Binary file not shown.
31 changes: 31 additions & 0 deletions 2.1.2/_sources/api.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
****************
Public mdpo APIs
****************

md2po
=====

.. automodule:: mdpo.md2po
:members: markdown_to_pofile
:noindex:

po2md
=====

.. automodule:: mdpo.po2md
:members: pofile_to_markdown
:noindex:

md2po2md
========

.. automodule:: mdpo.md2po2md
:members: markdown_to_pofile_to_markdown
:noindex:

mdpo2html
=========

.. automodule:: mdpo.mdpo2html
:members: markdown_pofile_to_html
:noindex:
8 changes: 8 additions & 0 deletions 2.1.2/_sources/changelog.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*********
Changelog
*********

.. changelog::
:changelog-url: https://github.com/mondeja/mdpo/releases/
:github: https://github.com/mondeja/mdpo/releases/
:pypi: https://pypi.org/project/mdpo/
98 changes: 98 additions & 0 deletions 2.1.2/_sources/cli.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
***********************
Command line interfaces
***********************

mdpo installation includes four command line interfaces:

* :ref:`cli:md2po` is used to dump strings from Markdown files into PO files as
msgids.
* :ref:`cli:po2md` is used to produce a translated Markdown file from a source
Markdown file and a PO file with extracted msgids and translated msgstrs.
* :ref:`cli:md2po2md` is a convenient wrapper for :ref:`cli:md2po` and
:ref:`cli:po2md`.
* :ref:`cli:mdpo2html` is used to produce a translated HTML file from a source
HTML file produced from Markdown file using a Markdown-to-HTML converter, and
a PO file of reference for strings.

.. raw:: html

<hr>

md2po
=====

.. sphinx_argparse_cli::
:module: mdpo.md2po.__main__
:func: build_parser
:prog: md2po
:title:

.. raw:: html

<hr>

po2md
=====

.. sphinx_argparse_cli::
:module: mdpo.po2md.__main__
:func: build_parser
:prog: po2md
:title:

markdownlint compatible configuration
*************************************

The output produced by :ref:`cli:po2md` is compatible with the following
`Markdownlint configuration`_:

.. code-block:: json
{
"no-blanks-blockquote": false,
"no-bare-urls": false,
"no-inline-html": false,
"ul-indent": {
"indent": 3
}
}
.. raw:: html

<hr>

md2po2md
========

.. sphinx_argparse_cli::
:module: mdpo.md2po2md.__main__
:func: build_parser
:prog: md2po2md
:title:

.. raw:: html

<hr>

mdpo2html
=========

.. sphinx_argparse_cli::
:module: mdpo.mdpo2html.__main__
:func: build_parser
:prog: mdpo2html
:title:

.. raw:: html

<script>
var argumentsSubsectionTitles = document.getElementsByTagName("H3");
for (let i=0; i<argumentsSubsectionTitles.length; i++) {
let subsectionTitle = argumentsSubsectionTitles[i].childNodes[0];
if (subsectionTitle.data.indexOf("markdownlint") == -1) {
subsectionTitle.data = subsectionTitle.data.split(" ").slice(1).join(" ");
}
}
</script>

.. _Markdownlint configuration: https://github.com/DavidAnson/markdownlint#configuration
Loading

0 comments on commit 79cf9ba

Please sign in to comment.