<commit_before>#!/bin/bash
###
# Generates documentation for Koowa
###

# Where is Koowa located
SRC_DIR=/path/to/trunk

# The actual code
CODE_DIR=${SRC_DIR}/code/plugins/system/koowa

# Examples
EXAMPLES_DIR=${SRC_DIR}/trunk

# Target for the generated docs
TGT_DIR=/p

# Project Title
TITLE="Koowa - Trunk"

# Output information to use separated by ','. Format: output:converter:templatedir
OUTPUT=HTML:frames:DOM/earthli 

# Generate syntax-colored source code
SOURCE=on

# File(s) that will be ignored, multiple separated by ','.  Wildcards * and ? are ok
IGNORE=chart/,filter/ascii/data/

# No output, for cron jobs
QUIET=off

#svn update $SRC_DIR

phpdoc -d $CODE_DIR -ed $EXAMPLES_DIR -t $TGT_DIR -i $IGNORE -q $QUIET -ti "$TITLE" -o $OUTPUT -s $SOURCE -dn "Koowa" -dc "Koowa"<commit_msg>Docs bash script<commit_after>#!/bin/bash
###
# Generates documentation for Koowa
###

# Where is Koowa located
SRC_DIR=/path/to/trunk

# The actual code
CODE_DIR=${SRC_DIR}/code/plugins/system/koowa

# Examples
EXAMPLES_DIR=${SRC_DIR}/trunk

# Target for the generated docs
TGT_DIR=/path/to/docs

# Project Title
TITLE="Nooku Framework - Trunk"

# Output information to use separated by ','. Format: output:converter:templatedir
OUTPUT=HTML:frames:DOM/earthli 

# Generate syntax-colored source code
SOURCE=on

# File(s) that will be ignored, multiple separated by ','.  Wildcards * and ? are ok
IGNORE=chart/,filter/ascii/data/

# No output, for cron jobs
QUIET=off

svn update $SRC_DIR
rm -rf ${TGT_DIR}/*
phpdoc -d $CODE_DIR -ed $EXAMPLES_DIR -t $TGT_DIR -i $IGNORE -q $QUIET -ti "$TITLE" -o $OUTPUT -s $SOURCE -dn "Koowa" -dc "Koowa"
{'fraction_non_alphanumeric': 0.1291309669522644, 'fraction_numerical': 0.0, 'mean_word_length': 4.561224489795919, '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': '6233552', 'n_tokens_mistral': 624, 'n_tokens_neox': 594, 'n_words': 171}