File: //usr/lib/python3/dist-packages/sphinx/cmd/__pycache__/make_mode.cpython-310.pyc
o
�$�a� � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlZddlm Z ddl
mZmZm
Z
mZ ddlmZmZ g d�ZG d d
� d
�Zdee defd
d�ZdS )a�
sphinx.cmd.make_mode
~~~~~~~~~~~~~~~~~~~~
sphinx-build -M command-line handling.
This replaces the old, platform-dependent and once-generated content
of Makefile / make.bat.
This is in its own module so that importing it is fast. It should not
import the main Sphinx modules (like sphinx.applications, sphinx.builders).
:copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�path)�List)�
build_main)�blue�bold�color_terminal�nocolor)�cd�rmtree))� �htmlzto make standalone HTML files)r �dirhtmlz2to make HTML files named index.html in directories)r �
singlehtmlz to make a single large HTML file)r �picklezto make pickle files)r �jsonzto make JSON files)r �htmlhelpz+to make HTML files and an HTML help project)r �qthelpz'to make HTML files and a qthelp project)r �devhelpz(to make HTML files and a Devhelp project)r �epubzto make an epub)r �latexz9to make LaTeX files, you can set PAPER=a4 or PAPER=letter)�posix�latexpdfz.to make LaTeX and PDF files (default pdflatex))r �
latexpdfjaz8to make LaTeX files and run them through platex/dvipdfmx)r �textzto make text files)r �manzto make manual pages)r �texinfozto make Texinfo files)r �infoz3to make Texinfo files and run them through makeinfo)r �gettextzto make PO message catalogs)r �changesz9to make an overview of all changed/added/deprecated items)r �xmlz!to make Docutils-native XML files)r � pseudoxmlz0to make pseudoxml-XML files for display purposes)r � linkcheckz)to check all external links for integrity)r �doctestz>to run all doctests embedded in the documentation (if enabled))r �coveragez7to run coverage check of the documentation (if enabled))r �cleanz+to remove everything in the build directoryc @ s� e Zd Zdededee ddfdd�Zdedefd d
�Zdefdd�Zdd
d�Z defdd�Z
defdd�Zdefdd�Zdefdd�Z
ddededefdd�ZdS )�Make�srcdir�builddir�opts�returnNc C s&