<s> __all__ = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> COMMON_MIME_MAPS = { <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT:application/json>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> class BaseStaticSiteRenderer ( object ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> def initialize_output ( cls ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> @ classmethod <EOL> def finalize_output ( cls ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def get_paths ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> @ property <EOL> def paths ( self ) : <EOL> """<STR_LIT>""" <EOL> p = getattr ( self , "<STR_LIT>" , None ) <EOL> if not p : <EOL> p = self . get_paths ( ) <EOL> self . _paths = p <EOL> return p <EOL> def render_path ( self , path = None , view = None ) : <EOL> raise NotImplementedError <EOL> def generate ( self ) : <EOL> for path in self . paths : <EOL> self . render_path ( path ) </s>
