| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/docutils/transforms/__pycache__/ |
Upload File : |
�
N=&b4O � � � d Z dZddlZddlmZmZ ddlmZmZ G d� de� � Z G d� d e � � Z
G d
� de � � Z G d� d
e� � ZdS )a4
Transforms related to the front matter of a document or a section
(information found before the main text):
- `DocTitle`: Used to transform a lone top level section's title to
the document title, promote a remaining lone top-level section's
title to the document subtitle, and determine the document's title
metadata (document['title']) based on the document title and/or the
"title" setting.
- `SectionSubTitle`: Used to transform a lone subsection into a
subtitle.
- `DocInfo`: Used to transform a bibliographic field list into docinfo
elements.
�reStructuredText� N)�nodes�utils)�TransformError� Transformc �$ � e Zd ZdZd� Zd� Zd� ZdS )�
TitlePromoterzJ
Abstract base class for DocTitle and SectionSubTitle transforms.
c � � t |t j � � st d� � �t |� � r"t |d t j � � rJ �| � |� � \ }}|�dS |� |dd�� � |dd� |d|� z |dd� z |dd�<