3
T'íca ã @ sÆ d Z ddlmZmZmZmZmZ ddlmZ ddl m
Z
mZ ddlm
Z
ddlmZ ddlZddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZmZ ddlmZmZ ddl m!Z!m"Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z( ej)e*Z+G dd dej,ej
Z-G dd dej.ej
Z/G dd dee!Z0G dd deZ1G dd de!Z2G dd dZ3e&e-ddd d!Z4e&e-ddd"d#Z5e(e-ddd$d%Z6e(e-ddd&d'Z7eee8ef d(d)d*Z9dS )+zñAllow todos to be inserted into your documentation.
Inclusion of todos can be switched of by a configuration variable.
The todolist directive collects all todos of your project and lists them along
with a backlink to the original location.
é )ÚAnyÚDictÚListÚTupleÚcast)Únodes)ÚElementÚNode)Ú
directives)ÚBaseAdmonitionN)Úaddnodes)ÚSphinx)ÚDomain)ÚBuildEnvironment)ÚNoUri)Ú_Ú__)ÚloggingÚ texescape)ÚSphinxDirectiveÚnew_document)Ú
OptionSpec)ÚHTMLTranslator)ÚLaTeXTranslatorc @ s e Zd ZdS )Ú todo_nodeN)Ú__name__Ú
__module__Ú__qualname__© r r ú1/tmp/pip-build-gk9425m9/sphinx/sphinx/ext/todo.pyr s r c @ s e Zd ZdS )ÚtodolistN)r r r r r r r r # s r c sR e Zd ZU dZeZdZdZdZdZ e
je
jdZ
e
ee d fddZ ZS ) ÚTodozO
A todo entry, displayed (if configured) in the form of an admonition.
Tr F)ÚclassÚname)Úreturnc s | j jdsdg| j d<