| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/sphinx/writers/__pycache__/ |
Upload File : |
a
�abl� � @ s� d Z ddlZddlZddlZddlmZ ddlmZmZm Z m
Z
mZmZm
Z
mZmZmZmZmZ ddlmZmZ ddlmZmZmZ ddlmZmZ ddlmZ dd lm Z dd
l!m"Z" ddl#m$Z$ ddl%m&Z&m'Z'm(Z( dd
l)m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 e�rddl1m2Z2 e*�3e4�Z5dZ6de d Z7eeej8 d�dd�Z9de:e:e:d�dd�Z;G dd� dej<�Z=G dd� de,�Z>dS ) z�
sphinx.writers.texinfo
~~~~~~~~~~~~~~~~~~~~~~
Custom docutils writer for Texinfo.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�path)�
TYPE_CHECKING�Any�Dict�Iterable�Iterator�List�Optional�Pattern�Set�Tuple�Union�cast)�nodes�writers)�Element�Node�Text)�__display_version__�addnodes)�RemovedInSphinx50Warning)�
IndexEntry)�IndexDomain)�ExtensionError)�_�__�admonitionlabels)�logging)�SphinxTranslator)�format_date)�collected_footnote)�TexinfoBuilderzn@quotation
%(project)s %(release)s, %(date)s
%(author)s
Copyright @copyright{} %(copyright)s
@end quotation
z�\input texinfo @c -*-texinfo-*-
@c %%**start of header
@setfilename %(filename)s
@documentencoding UTF-8
@ifinfo
@*Generated by Sphinx a .@*
@end ifinfo
@settitle %(title)s
@defindex ge
@paragraphindent %(paragraphindent)s
@exampleindent %(exampleindent)s
@finalout
%(direntry)s
@definfoenclose strong,`,'
@definfoenclose emph,`,'
@c %%**end of header
@copying
%(copying)s
@end copying
@titlepage
@title %(title)s
@insertcopying
@end titlepage
@contents
@c %%** start of user preamble
%(preamble)s
@c %%** end of user preamble
@ifnottex
@node Top
@top %(title)s
@insertcopying
@end ifnottex
@c %%**start of body
%(body)s
@c %%**end of body
@bye
)�section�returnc C sF g }| D ]8}t |tj�r&|�|� qqt |tj�r|�t|�� q|S )z7Return a list of subsections for the given ``section``.)�
isinstancer r"