Next / Previous / Contents / TCC Help System / NM Tech homepage

20. addDocLinkSox(): Add a link to the documentation (sox version)

cbchistlib.py
# - - -   a d d D o c L i n k S o x

def addDocLinkSox(sox):
    '''Add a little div pointing at the documentation.

      [ sox is a sox.Sox instance ->
          sox  +:=  credits paragraph pointing to the docs ]
    '''
    div = sox.start("div")
    p = sox.start("p", "For documentation, see ")
    sox.leaf("a", "the specification for this page", href='http://www.nmt.edu/~shipman/z/cbc/cbchist/')
    p.end()
    div.end()