
    ([                     *    d dl Z d dlmZ d Zd Zd Zy)    N)_versionc                      t         j                  j                  t         j                  j                  t         j                  j                  t                          S )zB
    Shortcut for users whose theme is next to their conf.py.
    )ospathabspathdirname__file__     4/usr/lib/python3/dist-packages/alabaster/__init__.pyget_pathr      s1    
 77??277??277??8+DEFFr   c                 *    t         j                  |d<   y )Nalabaster_version)version__version__)apppagenametemplatenamecontextdoctrees        r   update_contextr      s    #*#6#6G r   c                    t        | d      rRt        j                  j                  t        j                  j	                  t
                    }| j                  d|       | j                  dt               t        j                  ddS )Nadd_html_theme	alabasterzhtml-page-contextT)r   parallel_read_safe)hasattrr   r   r   r   r	   r   connectr   r   r   )r   
theme_paths     r   setupr      s\    s$%WW__RWW__X%>?
;
3KK#^4**$GGr   )r   r   r   r   r   r   r   r
   r   r   <module>r       s    	 )G7Hr   