o
    ±ŠK_?  ã                   @   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.
Z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   úNusr/lib/python3.10/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   Z__docformat__Údocutilsr   Zdocutils.transformsr   Zdocutils.parsers.rstr   r   r   r   r   r   r   Ú<module>   s   