<commit_before>#!/usr/bin/env python

import ConfigParser, os

def parse_docs():
    config = ConfigParser.RawConfigParser(allow_no_value=True)
    config.read('.sauce.ini')
    
    if not config.getboolean('Docs', 'enable'):
        return None
    
    branch = config.get('Docs', 'branch')
    
    deploy_docs = {
        "provider": "script",
        "script": "sh ./.sauce/travis/deploy_docs.sh",
        "skip_cleanup": "true",
        "on": {}
    }
    
    if branch:
        deploy_docs["on"]["branch"] = branch
    else:
        deploy_docs["on"]["all_branches"] = "true"
        
    return deploy_docs

def parse_docs_options():
    
    config = ConfigParser.RawConfigParser(allow_no_value=True)
    config.read('.sauce.ini')
    
    options = []
    
    projectname = config.get('Docs', 'projectname')
    description = config.get('Docs', 'description')
    logo = config.get('Docs', 'logo')
    
    include_non_documented = config.getboolean('Docs', 'include_non_documented')<commit_msg>Debugging script command.<commit_after>#!/usr/bin/env python

import ConfigParser, os

def parse_docs():
    config = ConfigParser.RawConfigParser(allow_no_value=True)
    config.read('.sauce.ini')
    
    if not config.getboolean('Docs', 'enable'):
        return None
    
    branch = config.get('Docs', 'branch')
    
    deploy_docs = {
        "provider": "script",
        "script": "./.sauce/travis/deploy_docs.sh",
        "skip_cleanup": "true",
        "on": {}
    }
    
    if branch:
        deploy_docs["on"]["branch"] = branch
    else:
        deploy_docs["on"]["all_branches"] = "true"
        
    return deploy_docs

def parse_docs_options():
    
    config = ConfigParser.RawConfigParser(allow_no_value=True)
    config.read('.sauce.ini')
    
    options = []
    
    projectname = config.get('Docs', 'projectname')
    description = config.get('Docs', 'description')
    logo = config.get('Docs', 'logo')
    
    include_non_documented = config.getboolean('Docs', 'include_non_documented')
{'fraction_non_alphanumeric': 0.14864197530864198, 'fraction_numerical': 0.0, 'mean_word_length': 2.815442561205273, 'pattern_counts': {'":': 8, '<': 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': '3684052', 'n_tokens_mistral': 658, 'n_tokens_neox': 659, 'n_words': 110}