def var_for(s): """return JavaScript variable name""" return id_for(s).replace("-", "_")
def toc_guide(name): """generate a toc entry for a guide""" return link_to(name, id_for(name))
def var_for(s): """return JavaScript variable name""" return id_for(s).replace('-', '_')