ó ÿgdSc@s}dZddlZddlZddlmZddlmZddlmZddlm Z ddl m Z dZ d Z d Zd Zd jƒZidSd6dTd6dUd6dVd6dWd6dXd6dYd6dZd 6d[d"6d\d$6d]d&6d^d(6d_d*6d`d-6dad06dbd26dcd46ddd66ded86dfd:6dgd<6dhd?6didA6djdC6dkdE6dldH6dmdJ6dndM6dodP6ZdQe fdR„ƒYZdS(ps sphinx.builders.htmlhelp ~~~~~~~~~~~~~~~~~~~~~~~~ Build HTML help support files. Parts adapted from Python's Doc/tools/prechm.py. :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. iÿÿÿÿN(tpath(tnodes(taddnodes(tStandaloneHTMLBuilder(t htmlescapesÑ[OPTIONS] Binary TOC=No Binary Index=No Compiled file=%(outname)s.chm Contents file=%(outname)s.hhc Default Window=%(outname)s Default topic=index.html Display compile progress=No Full text search stop list file=%(outname)s.stp Full-text search=Yes Index file=%(outname)s.hhk Language=%(lcid)#x Title=%(title)s [WINDOWS] %(outname)s="%(title)s","%(outname)s.hhc","%(outname)s.hhk","index.html","index.html",,,,,0x63520,220,0x10384e,[0,0,1024,768],,,,,,,0 [FILES] sB sn s a and are as at be but by for if in into is it near no not of on or such that the their then there these they this to was will with itcp1252tcaitcp1250tcsitdaitdei teni tesi%tcp1257teti)tcp1256tfai tfii tfrithrithuitititcp932tjaitcp949tkoi'tlti&tlvitnlitno_NBitplitpt_BRitcp1251truitski$tslitsvitcp1254ttri"tuk_UAitcp936tzh_CNitcp950tzh_TWtHTMLHelpBuildercBsheZdZdZeZdddgZeZeZ dZ dZ d„Z dd „Z d „Zd „ZRS( sŒ Builder that also outputs Windows HTML help project, contents and index files. Adapted from the original Doc/tools/prechm.py. thtmlhelps image/pngs image/gifs image/jpegi RcCsPtj|ƒd|_tj|jjƒ}|dk rL|\|_|_ ndS(Ns.html( Rtinitt out_suffixt chm_localestgettconfigtlanguagetNonetlcidtencoding(tselftlocale((sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyR.²s    twcCs%tjtj||ƒ||jdƒS(Ntxmlcharrefreplace(tcodecstopenRtjoinR6(R7toutdirtbasenametmode((sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyt open_file»scCs|j|j|jjƒdS(N(t build_hhxR>R2thtmlhelp_basename(R7((sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyt handle_finishÀscsr|jdƒ|j||dƒ‰z%xttƒD]}ˆ|IJq3WWdˆjƒX|jdƒ|j||dƒ‰zˆjti|d6|jjd6|jj d6|jj d6|j d 6ƒ|j t jƒsç|t j7}nt|ƒ}xt j|ƒD]Œ\}}}|jtj|d ƒƒ}x_|D]W} |rP| j d ƒ s_| j d ƒr4ˆtj|| ƒ|jt jd ƒIJq4q4WqWWdˆjƒX|jdƒ|j||dƒ‰zäˆjtƒˆjdt|jjdfƒx?|jD]4\} } } } ˆjdt| jd| fƒqW|jj|jj|dtƒ}d‡‡fd†‰d„}x!|j|ƒD]}ˆ|ƒq‡WˆjtƒWdˆjƒX|jdƒ|jj |ƒ}|j||dƒ‰ztˆjdƒ‡‡fd†‰xA|D]9\}}x*|D]"\}\}}ˆ|||ƒq(WqWˆjdƒWdˆjƒXdS(Nsdumping stopword list...s.stpswriting project file...s.hhptoutnamettitletversiontprojectR5t_statics.jss.htmls\swriting TOC file...s.hhcs
  • s index.htmls%s.htmltprune_toctreesics:t|tjƒr@ˆjdƒx|D]}ˆ||ƒq&Wnöt|tjƒr”|d}t|jƒƒjddƒ}ˆjt||fƒn¢t|tj ƒr|dkrˆjdƒnx|D]}ˆ||dƒqÉW|dkr6ˆjdƒq6n3t|t j ƒr6x|D]}ˆ||ƒqWndS( Ns
  • trefurit"s"is ( t isinstanceRt list_itemtwritet referenceRtastexttreplacetobject_sitemapt bullet_listRtcompact_paragraph(tnodetulleveltsubnodetlinkRF(tft write_toc(sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyR[îs$       cSst|tjƒo|jdƒS(Nttoctree(RMRRUthas_key(RV((sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyt istoctreesswriting index file...s.hhks (!tinfoRAtsortedt stopwordstcloseROtproject_templateR2t html_titleRGRHR5tendswithtostsepRftwalkt startswithRR=RRtcontents_headerRSthtml_short_titletdomain_indicest localnametenvtget_and_resolve_doctreet master_doctFalsettraversetcontents_footert create_index(R7R>REtwordtolentroottdirstfilest staticdirtfnt indexnametindexclstcontenttcollapsettocdocR^RVtindextkeytgroupRFRhRi((RZRmR[sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyRBÃsj                  (t__name__t __module__t__doc__R_R€t copysourcetsupported_image_typestadd_permalinkstTruetembeddedR5R6R.RARDRB(((sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyR,Ÿs  (iscp1252(iscp1250(iscp1252(iscp1252(i scp1252(i scp1252(i%scp1257(i)scp1256(i scp1252(i scp1252(iscp1250(iscp1250(iscp1252(iscp932(iscp949(i'scp1257(i&scp1257(iscp1252(iscp1252(iscp1250(iscp1252(iscp1251(iscp1250(i$scp1250(iscp1252(iscp1254(i"scp1251(iscp936(iscp950(R•RuR;RtdocutilsRtsphinxRtsphinx.builders.htmlRtsphinx.util.pycompatRRrRyR‚RStsplitRpR0R,(((sB/usr/local/lib/python2.7/site-packages/sphinx/builders/htmlhelp.pyt sV  9