<commit_before>[buildout]
parts +=
     sphinx
     sphinx_build
     sphinx_api

[sphinx_api]
recipe = collective.recipe.template
input = inline:
    #!/bin/bash
    rm docs/source/api_backend/adhocr*
    bin/sphinx-apidoc -eMfT -d 6  -o docs/api_backend/adhocracy_frontend src/adhocracy_frontend
    bin/sphinx-apidoc -eMfT -d 6  -o docs/api_backend/adhocracy_mercator src/adhocracy_mercator
    bin/sphinx-apidoc -eMfT -d 6  -o docs/api_backend/adhocracy_core src/adhocracy_core
    find docs/api_backend | grep "version.rst\|setup.rst\|bootstrap.rst\|tests\|test_" | xargs rm 
output = ${buildout:bin-directory}/sphinx_api_adhocracy
mode = 755

[sphinx_build]
recipe = collective.recipe.template
input = inline:
    #!/bin/bash
    cd ${buildout:directory}/docs/
    rm -rf ${buildout:directory}/docs/_build/doctrees
    make html
output = ${buildout:bin-directory}/sphinx_build_adhocracy
mode = 755

[sphinx]
recipe = zc.recipe.egg
dependent-scripts = true
eggs = Sphinx
       repoze.sphinx.autointerface
       sphinx-autodoc-annotation
       adhocracy_core[test]
       adhocracy_sample
       adhocracy_frontend
       mercator[test]<commit_msg>Build adhocracy in debug mode<commit_after>[buildout]
parts +=
     sphinx
     sphinx_build
     sphinx_api

[sphinx_api]
recipe = collective.recipe.template
input = inline:
    #!/bin/bash
    rm docs/source/api_backend/adhocr*
    bin/sphinx-apidoc -eMfT -d 6  -o docs/api_backend/adhocracy_frontend src/adhocracy_frontend
    bin/sphinx-apidoc -eMfT -d 6  -o docs/api_backend/adhocracy_mercator src/adhocracy_mercator
    bin/sphinx-apidoc -eMfT -d 6  -o docs/api_backend/adhocracy_core src/adhocracy_core
    find docs/api_backend | grep "version.rst\|setup.rst\|bootstrap.rst\|tests\|test_" | xargs rm 
output = ${buildout:bin-directory}/sphinx_api_adhocracy
mode = 755

[sphinx_build]
recipe = collective.recipe.template
input = inline:
    #!/bin/bash
    cd ${buildout:directory}/docs/
    rm -rf ${buildout:directory}/docs/_build/doctrees
    make html
output = ${buildout:bin-directory}/sphinx_build_adhocracy
mode = 755

[sphinx]
recipe = zc.recipe.egg
dependent-scripts = true
eggs = Sphinx
       repoze.sphinx.autointerface
       sphinx-autodoc-annotation
       adhocracy_core[debug]
       adhocracy_sample
       adhocracy_frontend[debug]
       mercator[debug]
{'fraction_non_alphanumeric': 0.10278372591006424, 'fraction_numerical': 0.007708779443254818, 'mean_word_length': 3.6074950690335306, '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': '5499634', 'n_tokens_mistral': 942, 'n_tokens_neox': 852, 'n_words': 151}