3
T'íc» ã @ s d Z ddlmZ ddlmZmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
mZ ejeZG dd d e Zeeeef d
ddZd
S )zDirectory HTML builders.é )Úpath)ÚAnyÚDict)ÚSphinx)ÚStandaloneHTMLBuilder)Úlogging)ÚSEPÚos_pathc @ s8 e Zd ZdZdZd
eeedddZeeddd ZdS )ÚDirectoryHTMLBuilderz²
A StandaloneHTMLBuilder that creates all HTML pages as "index.html" in
a directory given by their pagename, so that generated URLs don't have
``.html`` in them.
ZdirhtmlN)ÚdocnameÚtypÚreturnc C s. |dkrdS |j td r&|d d
S |t S )NÚindexÚ é éûÿÿÿ)Úendswithr )Úselfr r © r ú9/tmp/pip-build-gk9425m9/sphinx/sphinx/builders/dirhtml.pyÚget_target_uri s