# Path: staticsites/minify.py
# def xml(content, comment='', encoding=None):
# def css(content, comment='', encoding=None):
# def js(content, comment='', encoding=None):
# 
# Path: staticsites/conf_dict.py
# KEY_TYPE_APP = 'app'
# KEY_TYPE_DEPLOY_TYPE = 'deploy_type'
# KEY_TYPE_PATH = 'path'
# TYPES_OF_KEY = (
#     (Apps, KEY_TYPE_APP),
#     (DeployTypes, KEY_TYPE_DEPLOY_TYPE),
#     (Extensions, KEY_TYPE_PATH),
# )
# class BaseDict(dict):
# class Apps(BaseDict):
# class DeployTypes(BaseDict):
# class Extensions(BaseDict):
#     def __getitem__(self, key):
#     def get(self, app='', deploy_type='', extension='', *args, **kwargs):
# 
# Path: staticsites/utilities.py
# def dump_storage(storage):
# def load_storage(string):
# def has_extension(path, extensions):
# def is_xml(app, deploy_type, path):
# def is_html(app, deploy_type, path):
# def is_css(app, deploy_type, path):
# def is_js(app, deploy_type, path):
# def get_conf(key, app='', deploy_type='', path='', input=None):
# def get_default_deploy_type():
# def get_path(func_name=None, app=None, deploy_type=None, path=None):
# def get_minify(minify=None, app=None, deploy_type=None, path=None):
# def get_gzip(gzip=None, app=None, deploy_type=None, path=None):
# def get_encoding(encoding=None, app=None, deploy_type=None, path=None):
# def get_file_storage(file_storage=None, app=None, deploy_type=None, path=None):
# def get_storages(file_storage=None, app=None, deploy_type=None, path=None, **kwargs):
# def get_deploy_root(deploy_root=None, app=None, deploy_type=None, path=None):
# def get_deploy_root_date_format(deploy_root_date_format=None, app=None, deploy_type=None, path=None):
# def get_default_index(app=None, deploy_type=None):
# def iterate_dir(path, callback, ignore=None, deploy_type=None, *args, **kwargs):
#     def _iterate_dir(path, sub_path, callback, ignore, *args, **kwargs):
# def read_binary(path):
# def read_text(path):
# def read_gzip_file(path):
# def file_from_content(content, gzip=False):
# def invalidate_paths(deploy_type, paths, *args, **kwargs):
# def git_match(pattern, path):
# def ignore_file(path, deploy_type=None):
# def ignore_files(path, sub_path, files, deploy_type=None):


from django.core.files.storage import FileSystemStorage
from staticsites import minify, conf_dict, utilities
    '.DS_Store',

    # Windows
    'Thumbs.db',

    # Subversion files
    '.svn',
]
STATICSITE_IGNORE = utilities.ignore_files

STATICSITE_ENCODING = 'UTF-8'

STATICSITE_HTML_EXTENSIONS = ['.html', '.htm']
STATICSITE_CSS_EXTENSIONS = ['.css']
STATICSITE_JS_EXTENSIONS = ['.js', '.json']
STATICSITE_XML_EXTENSIONS = ['.xml'] + STATICSITE_HTML_EXTENSIONS

STATICSITE_DEFAULT_FILE_STORAGE = FileSystemStorage
STATICSITE_STATIC_ROOT = ''
STATICSITE_STATIC_URL = '/'

# Set minify correct functions for extensions
STATICSITE_MINIFY = conf_dict.Extensions({'': None})
for extension in STATICSITE_XML_EXTENSIONS:
    STATICSITE_MINIFY[extension] = minify.xml

for extension in STATICSITE_CSS_EXTENSIONS:
    STATICSITE_MINIFY[extension] = minify.css

for extension in STATICSITE_JS_EXTENSIONS:

# Path: staticsites/minify.py
# def xml(content, comment='', encoding=None):
# def css(content, comment='', encoding=None):
# def js(content, comment='', encoding=None):
# 
# Path: staticsites/conf_dict.py
# KEY_TYPE_APP = 'app'
# KEY_TYPE_DEPLOY_TYPE = 'deploy_type'
# KEY_TYPE_PATH = 'path'
# TYPES_OF_KEY = (
#     (Apps, KEY_TYPE_APP),
#     (DeployTypes, KEY_TYPE_DEPLOY_TYPE),
#     (Extensions, KEY_TYPE_PATH),
# )
# class BaseDict(dict):
# class Apps(BaseDict):
# class DeployTypes(BaseDict):
# class Extensions(BaseDict):
#     def __getitem__(self, key):
#     def get(self, app='', deploy_type='', extension='', *args, **kwargs):
# 
# Path: staticsites/utilities.py
# def dump_storage(storage):
# def load_storage(string):
# def has_extension(path, extensions):
# def is_xml(app, deploy_type, path):
# def is_html(app, deploy_type, path):
# def is_css(app, deploy_type, path):
# def is_js(app, deploy_type, path):
# def get_conf(key, app='', deploy_type='', path='', input=None):
# def get_default_deploy_type():
# def get_path(func_name=None, app=None, deploy_type=None, path=None):
# def get_minify(minify=None, app=None, deploy_type=None, path=None):
# def get_gzip(gzip=None, app=None, deploy_type=None, path=None):
# def get_encoding(encoding=None, app=None, deploy_type=None, path=None):
# def get_file_storage(file_storage=None, app=None, deploy_type=None, path=None):
# def get_storages(file_storage=None, app=None, deploy_type=None, path=None, **kwargs):
# def get_deploy_root(deploy_root=None, app=None, deploy_type=None, path=None):
# def get_deploy_root_date_format(deploy_root_date_format=None, app=None, deploy_type=None, path=None):
# def get_default_index(app=None, deploy_type=None):
# def iterate_dir(path, callback, ignore=None, deploy_type=None, *args, **kwargs):
#     def _iterate_dir(path, sub_path, callback, ignore, *args, **kwargs):
# def read_binary(path):
# def read_text(path):
# def read_gzip_file(path):
# def file_from_content(content, gzip=False):
# def invalidate_paths(deploy_type, paths, *args, **kwargs):
# def git_match(pattern, path):
# def ignore_file(path, deploy_type=None):
# def ignore_files(path, sub_path, files, deploy_type=None):


# Path: staticsites/conf.py
from django.core.files.storage import FileSystemStorage
from staticsites import minify, conf_dict, utilities

    '.DS_Store',

    # Windows
    'Thumbs.db',

    # Subversion files
    '.svn',
]
STATICSITE_IGNORE = utilities.ignore_files

STATICSITE_ENCODING = 'UTF-8'

STATICSITE_HTML_EXTENSIONS = ['.html', '.htm']
STATICSITE_CSS_EXTENSIONS = ['.css']
STATICSITE_JS_EXTENSIONS = ['.js', '.json']
STATICSITE_XML_EXTENSIONS = ['.xml'] + STATICSITE_HTML_EXTENSIONS

STATICSITE_DEFAULT_FILE_STORAGE = FileSystemStorage
STATICSITE_STATIC_ROOT = ''
STATICSITE_STATIC_URL = '/'

# Set minify correct functions for extensions
STATICSITE_MINIFY = conf_dict.Extensions({'': None})
for extension in STATICSITE_XML_EXTENSIONS:
    STATICSITE_MINIFY[extension] = minify.xml

for extension in STATICSITE_CSS_EXTENSIONS:
    STATICSITE_MINIFY[extension] = minify.css

for extension in STATICSITE_JS_EXTENSIONS:

    STATICSITE_MINIFY[extension] = minify.js