ó ˙gdSc@s{dZddlmZddlmZddlmZdejfd„ƒYZdefd„ƒYZ d „Z d „Z d S( s sphinx.ext.ifconfig ~~~~~~~~~~~~~~~~~~~ Provides the ``ifconfig`` directive that allows to write documentation that is included depending on configuration variables. Usage:: .. ifconfig:: releaselevel in ('alpha', 'beta', 'rc') This stuff is only included in the built docs for unstable versions. The argument for ``ifconfig`` is a plain Python expression, evaluated in the namespace of the project configuration (that is, all variables from ``conf.py`` are available.) :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. i˙˙˙˙(tnodes(tset_source_info(t DirectivetifconfigcBseZRS((t__name__t __module__(((s=/usr/local/lib/python2.7/site-packages/sphinx/ext/ifconfig.pyRstIfConfigcBs/eZeZdZdZeZiZd„ZRS(iicCs_tƒ}|jj|_t||ƒ|jd|d<|jj|j|j|ddƒ|gS(Nitexprt match_titlesi(RtstatetdocumentRt argumentst nested_parsetcontenttcontent_offset(tselftnode((s=/usr/local/lib/python2.7/site-packages/sphinx/ext/ifconfig.pytrun(s   ( RRtTruet has_contenttrequired_argumentstoptional_argumentstfinal_argument_whitespacet option_specR(((s=/usr/local/lib/python2.7/site-packages/sphinx/ext/ifconfig.pyR s c Csç|jjjƒ}|jj|ds