<commit_before>#!/usr/bin/env python
# -*- encoding: utf-8 -*-

"""Generate Sphinx source files."""

from pathlib import Path

import winshell
from titlecase import titlecase

from ._vendor.jrnl import install as jrnl_install
from ._vendor.jrnl import Journal as jrnl_Journal
from ._vendor.jrnl.plugins import util as jrnl_plugins_util
from ._vendor.jrnl import util as jrnl_util

from . import config, todo_export


def generate_prjct_docs(export_path=None, relative_path=True):
    """<commit_msg>sort imports<commit_after>#!/usr/bin/env python
# -*- encoding: utf-8 -*-

"""Generate Sphinx source files."""

from pathlib import Path

import winshell
from titlecase import titlecase

from . import config, todo_export
from ._vendor.jrnl import Journal as jrnl_Journal
from ._vendor.jrnl import install as jrnl_install
from ._vendor.jrnl import util as jrnl_util
from ._vendor.jrnl.plugins import util as jrnl_plugins_util


def generate_prjct_docs(export_path=None, relative_path=True):
    """
{'fraction_non_alphanumeric': 0.08835341365461848, 'fraction_numerical': 0.002008032128514056, 'mean_word_length': 4.970059880239521, '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': '179417', 'n_tokens_mistral': 331, 'n_tokens_neox': 326, 'n_words': 99}