| 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=&b�0 � �& � d Z dZddlZddlZddlmZmZ ddlmZ ddl m
Z
G d� de� � Z G d � d
e� � Z G d� de� � Z
G d
� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � ZdS )a�
Transforms needed by most or all documents:
- `Decorations`: Generate a document's header & footer.
- `ExposeInternals`: Expose internal attributes.
- `Messages`: Placement of system messages generated after parsing.
- `FilterMessages`: Remove system messages below verbosity threshold.
- `TestMessages`: Like `Messages`, used on test runs.
- `StripComments`: Remove comment elements from the document tree.
- `StripClassesAndElements`: Remove elements with classes
in `self.document.settings.strip_elements_with_classes`
and class values in `self.document.settings.strip_classes`.
- `SmartQuotes`: Replace ASCII quotation marks with typographic form.
�reStructuredText� N)�nodes�utils)� Transform)�smartquotesc �( � e Zd ZdZdZd� Zd� Zd� ZdS )�DecorationszD
Populate a document's decoration element (header, footer).
i4 c �j � | � � � }|rB| j � � � }|� � � }|� |� � | � � � }|rD| j � � � }|� � � }|� |� � d S d S �N)�generate_header�document�get_decoration�
get_header�extend�generate_footer�
get_footer)�self�header_nodes�
decoration�header�footer_nodes�footers �?/usr/lib/python3/dist-packages/docutils/transforms/universal.py�applyzDecorations.apply&