U
    ZªSh?  ã                   @   sL   d Z dZddlmZ ddlmZ ddlmZ ddlmZ G dd„ deƒZ	d	S )
z(
Directives for references and targets.
ÚreStructuredTexté    )Únodes)Ú
references)Ú	Directive)Ú
directivesc                   @   s&   e Zd ZdZejejdœZdd„ ZdS )ÚTargetNoteszTarget footnote generation.)ÚclassÚnamec                 C   s8   t  tj¡}|  |¡ |j | j¡ | jj	 
|¡ |gS )N)r   Úpendingr   r   Zadd_nameÚdetailsÚupdateÚoptionsZstate_machineZdocumentZnote_pending)Úselfr
   © r   ú]/root/rtd-docs/venv/lib/python3.8/site-packages/docutils/parsers/rst/directives/references.pyÚrun   s
    
zTargetNotes.runN)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Zclass_optionZ	unchangedZoption_specr   r   r   r   r   r      s
   ÿr   N)
r   Ú__docformat__Zdocutilsr   Zdocutils.transformsr   Zdocutils.parsers.rstr   r   r   r   r   r   r   Ú<module>   s   