Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
sphinx
/
ext
/
autosummary
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: generate.cpython-310.pyc
o o�a�` � @ s8 d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZ ddlmZ ddl mZmZmZmZmZmZmZmZ ddlmZ ddlmZ ddlZddlmZmZ dd lmZ dd l m!Z! ddl"m#Z# ddl$m%Z% dd l&m'Z' ddl(m)Z) ddl*m+Z+m,Z,m-Z- ddlm.Z. ddl/m0Z0m1Z1 ddl2m3Z3 ddl4m5Z5m6Z6m7Z7 ddl8m9Z9 ddl:m;Z; ddl<m=Z= e5�>e?�Z@G dd� d�ZAG dd� de�ZBdeddfdd�ZCdeDddfd d!�ZEdeDddfd"d#�ZFdXd%eDd&eDdeDfd'd(�ZGG d)d*� d*�ZHG d+d,� d,�ZI dYd-eDd.ed/ed0eHd1eDd2eJded3eJd4ed5eDd6eDdeDfd7d8�ZK <dZd=eeD d>eDd?eDd@eDdAe!dBeDd2eJdedCeJdDeDddfdEdF�ZLdGeeD deeB fdHdI�ZMdYd-eDdJeDdKeDdeeB fdLdM�ZNdYdNeeD dJeDdKeDdeeB fdOdP�ZOdejPfdQdR�ZQejRdSd� fdTeeD ddfdUdV�ZSe?dWk�r�eS� dS dS )[a" sphinx.ext.autosummary.generate ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Usable as a library or script to generate automatic RST source files for items referred to in autosummary:: directives. Each generated RST file contains a single auto*:: directive which extracts the docstring of the referred item. Example Makefile rule:: generate: sphinx-autogen -o source/generated source/*.rst :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�NullTranslations)�path)�Any�Dict�List� NamedTuple�Set�Tuple�Type�Union)�TemplateNotFound)�SandboxedEnvironment)�__display_version__�package_dir)�Sphinx)�Builder)�Config)�RemovedInSphinx50Warning)� Documenter)� import_module)�get_documenter�import_by_name�import_ivar_by_name)�__)�ModuleAnalyzer�PycodeError)�SphinxComponentRegistry)�logging�rst�split_full_qualified_name)�safe_getattr)� ensuredir)�SphinxTemplateLoaderc @ s4 e Zd ZdZdeddfdd�Zdeddfdd �ZdS ) �DummyApplicationz3Dummy Application class for sphinx-autogen command.� translator�returnNc C sf t � | _t� | _g | _d| _|| _d| _d| _d| _ | j� di dd � | j� di dd � | j�� d S )N�/r F�autosummary_contextT�autosummary_filename_map)r �configr �registry� messagelog�srcdirr$ � verbosity� _warncount�warningiserror�add�init_values)�selfr$ � r3 �A/usr/lib/python3/dist-packages/sphinx/ext/autosummary/generate.py�__init__; s zDummyApplication.__init__�argsc G s d S �Nr3 )r2 r6 r3 r3 r4 �emit_firstresultI s z!DummyApplication.emit_firstresult)�__name__� __module__�__qualname__�__doc__r r5 r r8 r3 r3 r3 r4 r# 8 s r# c @ s. e Zd ZU eed<