<commit_before>##################################
pelican-diminuendo - HTML minifier
##################################

This Pelican plugin uses `python-diminuendo <https://github.com/hrbonz/python-diminuendo>`_ to minify HTML.

.. image:: https://travis-ci.org/hrbonz/pelican-diminuendo.svg?branch=master
    :target: https://travis-ci.org/hrbonz/pelican-diminuendo
    :alt: Testing Status

.. image:: https://readthedocs.org/projects/pelican-diminuendo/badge/?version=latest
    :target: https://readthedocs.org/projects/pelican-diminuendo/?badge=latest
    :alt: Documentation Status

.. image:: http://img.shields.io/badge/license-BSD%203--Clause-blue.svg
    :target: http://opensource.org/licenses/BSD-3-Clause
    :alt: license BSD 3-Clause


Install
=======

.. code-hilight:: sh

    $ pip install pelican-diminuendo

Usage
=====

To use the plugin, add it to the PLUGINS list in your configuration file. Put it in pelicanconf.py by default:

.. code-hilight:: python

    PLUGINS = [
        # ...
        'pelican-diminuendo',
    ]

Development
===========

Test
----

Test the package::

    $ python -m unittest discover

Automatic testing in various environments::

    $ tox

Release
=======

Use `bumpr` to release the package::

    $ bumpr -b -m

Project
=======<commit_msg>fix README code hilighting<commit_after>##################################
pelican-diminuendo - HTML minifier
##################################

This Pelican plugin uses `python-diminuendo <https://github.com/hrbonz/python-diminuendo>`_ to minify HTML.

.. image:: https://travis-ci.org/hrbonz/pelican-diminuendo.svg?branch=master
    :target: https://travis-ci.org/hrbonz/pelican-diminuendo
    :alt: Testing Status

.. image:: https://readthedocs.org/projects/pelican-diminuendo/badge/?version=latest
    :target: https://readthedocs.org/projects/pelican-diminuendo/?badge=latest
    :alt: Documentation Status

.. image:: http://img.shields.io/badge/license-BSD%203--Clause-blue.svg
    :target: http://opensource.org/licenses/BSD-3-Clause
    :alt: license BSD 3-Clause


Install
=======

.. code-block:: sh

    $ pip install pelican-diminuendo

Usage
=====

To use the plugin, add it to the PLUGINS list in your configuration file. Put it in pelicanconf.py by default:

.. code-block:: python

    PLUGINS = [
        # ...
        'pelican-diminuendo',
    ]

Development
===========

Test
----

Test the package:

.. code-block:: sh

    $ python -m unittest discover

Automatic testing in various environments:

.. code-block:: sh

    $ tox

Release
=======

Use `bumpr` to release the package:

.. code-block:: sh

    $ bumpr -b -m

Project
=======
{'fraction_non_alphanumeric': 0.19578313253012047, 'fraction_numerical': 0.0037650602409638554, 'mean_word_length': 3.480607082630691, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1908242', 'n_tokens_mistral': 920, 'n_tokens_neox': 874, 'n_words': 193}