HappyDoc Generated Documentation HappyDoc3-r3_1/happydoclib/utils.py

HappyDoc3-r3_1 / happydoclib / utils.py 

Utility functions which do not seem to fit elsewhere.

Functions   
  extractSummary 
extractSummary ( text,  _summary_pattern=re.compile( r'^\s*([^\n]+)\n' ) )

Given a block of text, extract a summary from it.

  isSomethingThatLooksLikeDirectory 
isSomethingThatLooksLikeDirectory ( path,  includeLinks=1 )

Returns boolean indicating whether or not path looks like a directory.

  getMimeType 
getMimeType ( path )

Returns the mimetype and encoding for path.

Classes   

This document was automatically generated Tue Dec 5 08:31:26 2006 by HappyDoc version 3.1