Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
sphinx
/
builders
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: texinfo.cpython-310.pyc
o �$�a�$ � @ s� d Z ddlZddlmZ ddlmZmZmZmZmZm Z ddl mZ ddlm Z ddlmZ ddlmZ dd lmZmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlm Z m!Z! ddl"m#Z#m$Z$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z- ddl.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4 e#�5e6�Z7ej�8edd�Z9G dd� de�Z:dedeee;e;e;e;e;e;e;f fdd�Z<dedee;ef fd d!�Z=dS )"z� sphinx.builders.texinfo ~~~~~~~~~~~~~~~~~~~~~~~ Texinfo builder. :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�path)�Any�Dict�Iterable�List�Tuple�Union)�nodes)�OptionParser)� FileOutput)�Node)�addnodes�package_dir)�Sphinx)�Builder)�Config)�ImageAdapter)�NoUri)�_�__)�logging�progress_message�status_iterator)� darkgreen)�new_document)�copy_asset_file)�inline_all_toctrees)�SEP� ensuredir�make_filename_from_project)�TexinfoTranslator� TexinfoWriter� templates�texinfoc @ s� e Zd ZdZdZdZed�Zejdkreed�7 Zg d�Z e Zd&d d �Zde eee f fdd�Zd'd ededefdd�Zd'dedededefdd�Zd&dd�Zdeddfdd�Zdededee dejfdd�Zd&dd �Zd!eddfd"d#�Zd&d$d%�ZdS )(�TexinfoBuilderz= Builds Texinfo output to create Info documentation. r# z$The Texinfo files are in %(outdir)s.�posixzl Run 'make' in that directory to run these through makeinfo (use 'make info' here to do that automatically).)z image/pngz image/jpegz image/gif�returnNc C s g | _ g | _d S �N)�docnames� document_data��self� r, �9/usr/lib/python3/dist-packages/sphinx/builders/texinfo.py�init7 s zTexinfoBuilder.initc C s dS )Nz all documentsr, r* r, r, r- �get_outdated_docs; s z TexinfoBuilder.get_outdated_docs�docname�typc C s || j vr t||��d| S )N�%)r( r )r+ r0 r1 r, r, r- �get_target_uri>