ó
ƒ5nYc           @   s{   d  Z  d d l m Z d d l m Z m Z d d l m Z d d l m	 Z	 d d l
 Z
 d „  Z d e f d	 „  ƒ  YZ d S(
   s@  
    sphinxlocal.roles.saslman
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Turn :saslman: links into manpage references to the cyrus sasl doc tree

    :version: 0.1
    :author: Nicola Nye <nicolan@fastmail.com>

    :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
iÿÿÿÿ(   t   SphinxError(   t   nodest   utils(   t   set_classes(   t   TemplateNc         C   s*   |  j  d ƒ |  j d d d t j ƒ d  S(   Ns   Initializing saslman plugint   saslmans   %s(   t   infot   add_crossref_typeR   t	   generated(   t   app(    (    s=   /home/ken/cyrus-sasl/docsrc/exts/sphinxlocal/roles/saslman.pyt   setup   s    t   CyrusManExtensionc           B   s   e  Z d  Z RS(   s   :saslman: error(   t   __name__t
   __module__t   category(    (    (    s=   /home/ken/cyrus-sasl/docsrc/exts/sphinxlocal/roles/saslman.pyR      s   (   t   __doc__t   sphinx.errorsR    t   docutilsR   R   t   docutils.parsers.rst.rolesR   t   stringR   t   reR
   R   (    (    (    s=   /home/ken/cyrus-sasl/docsrc/exts/sphinxlocal/roles/saslman.pyt   <module>   s   	