Graybyt3 Was Here
Linux cloud.locucionar.com 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
Apache
91.191.211.241
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
docutils
/
transforms
/
__pycache__
[ HOME ]
Exec
Submit
File Name : frontmatter.cpython-311.pyc
� K�Fh{S � � � d Z dZddlZddlmZmZmZ ddlmZm Z G d� de � � Z G d� d e � � Z G d � de � � Z G d� d e � � Z dS )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�parsers�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�<