<commit_before>#!/usr/bin/env python
# Generates the *public* API documentation.
# Remember to hide your private parts, people!
import os, re, sys

project  = 'Exscript'
base_dir = os.path.join('..', 'src', project)
doc_dir  = 'api'

# Create the documentation directory.
if not os.path.exists(doc_dir):
    os.makedirs(doc_dir)

# Generate the API documentation.
os.system('epydoc ' + ' '.join(['--name', project,
                                '--exclude Exscript.AccountManager',
                                '--exclude Exscript.HostAction',
                                '--exclude Exscript.Log',
                                '--exclude Exscript.Logfile',
                                '--exclude Exscript.QueueLogger',
                                '--exclude Exscript.QueueListener',
                                '--exclude Exscript.util.otp',
                                '--exclude Exscript.interpreter',
                                '--exclude Exscript.protocols.AbstractMethod',
                                '--exclude Exscript.protocols.telnetlib',
                                '--exclude Exscript.stdlib',
                                '--exclude Exscript.workqueue',
                                '--exclude Exscript.version',
                                '--html',
                                '--no-private',
                                '--no-source',
                                '--no-frames',
                                '--inheritance=included',
                                '-v',
                                '-o %s' % doc_dir,
                                base_dir]))<commit_msg>Hide AbstractMethod class from the docs.<commit_after>#!/usr/bin/env python
# Generates the *public* API documentation.
# Remember to hide your private parts, people!
import os, re, sys

project  = 'Exscript'
base_dir = os.path.join('..', 'src', project)
doc_dir  = 'api'

# Create the documentation directory.
if not os.path.exists(doc_dir):
    os.makedirs(doc_dir)

# Generate the API documentation.
os.system('epydoc ' + ' '.join(['--name', project,
                                '--exclude Exscript.AbstractMethod',
                                '--exclude Exscript.AccountManager',
                                '--exclude Exscript.HostAction',
                                '--exclude Exscript.Log',
                                '--exclude Exscript.Logfile',
                                '--exclude Exscript.QueueLogger',
                                '--exclude Exscript.QueueListener',
                                '--exclude Exscript.util.otp',
                                '--exclude Exscript.interpreter',
                                '--exclude Exscript.protocols.AbstractMethod',
                                '--exclude Exscript.protocols.telnetlib',
                                '--exclude Exscript.stdlib',
                                '--exclude Exscript.workqueue',
                                '--exclude Exscript.version',
                                '--html',
                                '--no-private',
                                '--no-source',
                                '--no-frames',
                                '--inheritance=included',
                                '-v',
                                '-o %s' % doc_dir,
                                base_dir]))
{'fraction_non_alphanumeric': 0.11166471277842907, 'fraction_numerical': 0.0, 'mean_word_length': 0.9751157407407407, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4774700', 'n_tokens_mistral': 844, 'n_tokens_neox': 766, 'n_words': 160}