<commit_before>Warning:
=======

You probably should make your life easier and use standard templates
your framework provides.  This is too hard for you (and me).


Dot\_Why
=======

My own personal way of doing templates.


Install:
=======

This is not worthy to be listed in gem repos, so you have to
install manually:

    gem install dot_why

    # === For rbenv users: ===
    rbenv rehash
    # ========================

    cd /my_templates/whatever
    dot_why Diet_Dot ./my_layout ./my_template

Note:
====

The layout and template files should have a `.rb` extension.

Support
======

You are on your own. I barely have time to add all the features
I want.




<commit_msg>Started: adding more doc.<commit_after>Warning:
=======

You probably should make your life easier and use standard templates
your framework provides.  This is too hard for you (and me).


Dot\_Why
=======

My own personal way of doing templates.


Install:
=======

This is not worthy to be listed in gem repos, so you have to
install manually:

    gem install dot_why

    # === For rbenv users: ===
    rbenv rehash
    # ========================

    cd /my_templates/whatever
    dot_why Diet_Dot ./my_layout ./my_template

Note:
====

The layout and template files should have a `.rb` extension.

Support
======

You are on your own. I barely have time to add all the features
I want.


Template Guide
==============

* **section :sym do ... end**:
  Add something to a section.  Can be used multiple times.
  It accumulates the content in the block.

* **partial "path/to/file"**:
  Reads the file (*File.read*) and evals it.

* **partial "path/to/file/or/dir", "sub/path/to/file**:
  Uses the first argument as the starting point to find the
  template. The first argument can be a file (e.g. *__FILE__*)
  or dir. If it is a file, it will use the dir of the path (*File.dirname*).



{'fraction_non_alphanumeric': 0.13692061800745872, 'fraction_numerical': 0.0, 'mean_word_length': 3.317241379310345, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1807001', 'n_tokens_mistral': 574, 'n_tokens_neox': 540, 'n_words': 255}