Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
sphinx
/
ext
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: apidoc.cpython-310.pyc
o �$�a�K � @ s d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm Z ddlmZm Z mZmZ ddlZddlmZmZ dd lmZ dd lmZ ddlmZmZ ddlmZ d ejv rnejd �d�Zng d�Zdee � Z e �!edd�Z"de#de$fdd�Z%de#de#fdd�Z&dHde#dee# de$fdd�Z'de#de#d eddfd!d"�Z( dId#e#d$e#d ed%e#ddf d&d'�Z)g dfd(e#d)e#d*e#d+ee# d ed,ee# d-e$d.ee# d%e#ddfd/d0�Z* 1 dJd1ee# d ede#d%e#ddf d2d3�Z+g fde#d ed.ee# de$fd4d5�Z,de#d ed.ee# de$fd6d7�Z-d8e#d.ee# d ede ee#ee# ee# f ddf fd9d:�Z.d8e#d.ee# d ede$fd;d<�Z/ dId8e#d.ee# d ed%e#dee# f d=d>�Z0d(e#d.ee# de$fd?d@�Z1dej2fdAdB�Z3ej4dCd� fdDee# de5fdEdF�Z6e7dGk�r�e6� dS dS )Ku sphinx.ext.apidoc ~~~~~~~~~~~~~~~~~ Parses a directory tree looking for Python modules and packages and creates ReST files appropriately to create code documentation with Sphinx. It also creates a modules index (named modules.<suffix>). This is derived from the "sphinx-autopackage" script, which is: Copyright 2008 Société des arts technologiques (SAT), https://sat.qc.ca/ :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�copy��fnmatch)�EXTENSION_SUFFIXES)�path)�Any� Generator�List�Tuple)�__display_version__�package_dir)� EXTENSIONS)�__)�FileAvoidWrite� ensuredir)�ReSTRenderer�SPHINX_APIDOC_OPTIONS�,)�membersz undoc-memberszshow-inheritance)z.pyz.pyx� templates�apidoc�filename�returnc C s4 t �| �}tttdd�D ]}|d| kr dS qdS )z)Check *filename* is __init__ file or not.T)�key�reverse�__init__F)r �basename�sorted�PY_SUFFIXES�len)r r �suffix� r! �3/usr/lib/python3/dist-packages/sphinx/ext/apidoc.py� is_initpy3 s �r# �modnamesc G s d� td| ��S )zJoin module names with dots.�.N)�join�filter)r$ r! r! r"