+
    VBi                    T   R t ^ RIHt Rt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	H
t
HtHtHtHtHtHtHt ^ RIHt ^ RIHt Rt]'       d   ^ RIHt ^ R	IHt  ! R
 R4      tRtRtRRRRRRRRRRRR]]3R ltR2R ltR3R lt R]PB                  RRRRRRRRRRRR3R lt"R]PB                  RRRRRRRRR3R lt#R4R lt$RRRRRRRRRRRR]]R]PJ                  3R lt&R R lt'R t(R5R R llt)R R lt*R  R! lt+R" R# lt,R$ R% lt-R& R' lt.R( R) lt/R* R+ lt0R, R- lt1R. R/ lt2R0 R1 lt3R# )6a  
Calling the ``publish_*`` convenience functions (or instantiating a
`Publisher` object) with component names will result in default
behavior.  For custom behavior (setting component options), create
custom component objects first, and pass *them* to
``publish_*``/`Publisher`.  See `The Docutils Publisher`_.

.. _The Docutils Publisher:
    https://docutils.sourceforge.io/docs/api/publisher.html
)annotationsreStructuredTextN)__version____version_details__SettingsSpecioutilsreadersparserswriters)OptionParser)doctreeF)TextIO)StrPathc                  <   ] tR t^%tRtRRRR]P                  R]P                  R3R R lltR%R R llt	R R lt
R	 R
 ltR&R ltR&R ltR R ltR'R R lltR%R R lltR%R R lltR%R R lltR R ltR(R ltR R ltR R ltR R ltR  R! ltR" R# ltR$tR# ))	PublisherzC
A facade encapsulating the high-level logic of a Docutils system.
Nc                   V ^8  d   QhRR/#    returnNone )formats   "2/usr/lib/python3.14/site-packages/docutils/core.py__annotate__Publisher.__annotate__+   s     4( 4( $(4(    c	                z   \        V\        4      '       d   \        P                  ! V4      ! V4      p\        V\        4      '       dh   \        V\        P                  4      '       d-   VP
                  f   VP                  V4       VP
                  pM\        P                  ! V4      ! 4       p\        V\        4      '       d   \        P                  ! V4      ! 4       pRV n         Wn         W n         W0n         W@n         WPn         W`n         Wpn         Wn         \&        P(                  ! 4       V n        R# )z
Initial setup.

The components `reader`, `parser`, or `writer` should all be
specified, either as instances or via their names.
N)
isinstancestrr	   get_reader_classReaderparser
set_parserr
   get_parser_classr   get_writer_classdocumentreaderwritersourcesource_classdestinationdestination_classsettingsr   ErrorOutput_stderr)	selfr'   r"   r(   r)   r*   r+   r,   r-   s	   &&&&&&&&&r   __init__Publisher.__init__+   s     fc""--f5f=Ffc""&'..11==(%%f- 11&9;fc""--f57F;333G(?&	 "3D 	J ~~'r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   a   s     - -4 -r   c                   \         P                  ! V4      pV! W#4      V n        V P                  P                  e   V P                  P                  V n        R# V P                  e   V P                  V P                  n        R# R# )zpSet `self.reader` by name.

The "paser_name" argument is deprecated,
use "parser" with parser name or instance.
N)r	   r    r'   r"   )r0   r'   r"   parser_namereader_classs   &&&& r   
set_readerPublisher.set_readera   s`     //7"67;;)++,,DK[[$!%DKK %r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   n   s     % % %r   c                J    \         P                  ! V4      pV! 4       V n        R# )zSet `self.writer` by name.N)r   r%   r(   )r0   writer_namewriter_classs   && r   
set_writerPublisher.set_writern   s    //<"nr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   s   s     ) )t )r   c                	   \         P                  ! R \        ^R7       V P                  f   V P	                  WP
                  V4       V P
                  fO   V P                  P
                  f   V P                  P                  V4       V P                  P
                  V n        V P                  f   V P                  V4       R# R# )zh`Publisher.set_components()` will be removed in Docutils 2.0.  Specify component names at instantiation.
stacklevelN)	warningswarnPendingDeprecationWarningr'   r7   r"   r#   r(   r=   )r0   reader_namer5   r;   s   &&&&r   set_componentsPublisher.set_componentss   s     * 0A	? ;;OOKkB;;{{!!)&&{3++,,DK;;OOK( r   c           
     	   \         P                  ! 4       ;_uu_ 4        \         P                  ! R \        R7       V'       dO   V'       g   \	        4       pWCn        VP                  4       p\        V4      ^8  d   VR,          R8X  d	   R.Vn        \        V P                  V P                  V P                  V3VRWR7      uuRRR4       #   + '       g   i     R# ; i)ignore)categoryapplicationapplicationsT)
componentsdefaultsread_config_filesusagedescriptionN)rC   catch_warningsfilterwarningsDeprecationWarningr   config_sectionsplitlenconfig_section_dependenciesr   r"   r'   r(   )r0   rQ   rR   settings_specrW   rO   partss   &&&&&, r   _setup_settings_parser Publisher._setup_settings_parser   s     $$&&##H7IJ$$0NM/=,&,,.u:>eBi=&@AO@PM= KKdkk)+!T	6 '&&&s   ,CA6CC	c                l    V P                   ! WW43/ VB pVP                  4       V n        V P                  # )aK  
Return settings from components and config files.

Please set components first (`self.set_reader` & `self.set_writer`).
Use keyword arguments to override component defaults
(before updating from configuration files).

Calling this function also sets `self.settings` which makes
`self.publish()` skip parsing command line options.
)r]   get_default_valuesr-   )r0   rQ   rR   r[   rW   rO   option_parsers   &&&&&, r   get_settingsPublisher.get_settings   s=     33KAIK%88:}}r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s     	* 	*9=	*r   c                	    V P                   fE   V'       d   VP                  4       M/ pVP                  RR4       V P                  ! RRVRV/VB  R # R # )N	tracebackTr[   rW   r   )r-   copy
setdefaultrb   )r0   r[   settings_overridesrW   rO   s   &&&& r   process_programmatic_settings'Publisher.process_programmatic_settings   s[     == 4F)..0BHT2 *M *-;* (*	 !r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s     7 7,07r   c                    V P                   ! W#WE3/ VB pVf   \        P                  R,          pVP                  V4      V n        R# )z
Parse command line arguments and set ``self.settings``.

Pass an empty sequence to `argv` to avoid reading `sys.argv`
(the default behaviour).

Set components first (`self.set_reader` & `self.set_writer`).
N:   NN)r]   sysargv
parse_argsr-   )r0   rp   rQ   rR   r[   rW   rO   ra   s   &&&&&&, r   process_command_linePublisher.process_command_line   sG     33KAIK<88B<D%006r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s     D D Dr   c                	    V P                   f   V P                  VR7       V P                  f   V P                  VR7       R # R # )N)source_path)destination_path)r)   
set_sourcer+   set_destination)r0   rv   rw   s   &&&r   set_ioPublisher.set_io   s=    ;;OOO4#  2B C $r   c               $    V ^8  d   QhRRRRRR/# )r   r)   z
str | Nonerv   StrPath | Noner   r   r   )r   s   "r   r   r      s+     F F%F .F Fr   c                	
   Vf   V P                   P                  pM&\        P                  ! V4      pW P                   n        V P	                  WV P                   P
                  V P                   P                  R7      V n        R # )N)r)   rv   encodingerror_handler)r-   _sourceosfspathr*   input_encodinginput_encoding_error_handlerr)   )r0   r)   rv   s   &&&r   rx   Publisher.set_source   sf     --//K))K0K$/MM!'']]11--DD ( Fr   c               $    V ^8  d   QhRRRRRR/# )r   r+   zTextIO | Nonerw   r}   r   r   r   )r   s   "r   r   r      s+     G G%2G*8G "Gr   c                	   Ve(   \         P                  ! V4      V P                  n        EM9\	        V P                  RR 4      '       dB   V P                  P                  '       g&   V P                  P
                  V P                  n        V P                  P                  '       dW   V P                  P                  '       d;   V P                  P                  V P                  P                  8w  d   \        R4      hV P                  P                  f&   V P                  P                  V P                  n        V P                  P                  R8X  d   R V P                  n        V P                  P                  ;V P                  n        V P                  n        V P                  VV P                  P                  V P                  P                  V P                  P                  R7      V n        R # )NoutputznThe --output-path option obsoletes the second positional argument (DESTINATION). You cannot use them together.-)r+   rw   r   r   )r   r   r-   output_pathgetattrr   _destination
SystemExitr,   output_encodingoutput_encoding_error_handlerr+   )r0   r+   rw   s   &&&r   ry   Publisher.set_destination   s^    '(*		2B(CDMM% t}}h  !%!:!:!:,0MM,@,@))))dmm.H.H.HMM--1K1KK  "A B B }}((0,0MM,F,F)}}((C/,0)mm''	("T]]%9  11#!]]66]]22--EE	 2 Gr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r      s     5 5$ 5r   c                	   V P                   P                  P                  V P                  V P                  V P                  P
                  V P                  V P                  34       V P                   P                  P                  4        R # )N)	r&   transformerpopulate_from_componentsr)   r'   r"   r(   r+   apply_transforms)r0   s   &r   r   Publisher.apply_transforms   s_    !!::[[$++t{{'9'94;;	  	!!224r   c                t   Rp V P                   f    V P                  ! WW4V3/ T;'       g    / B  V P                  4        V P                  4        V P                  P                  V P                  V P                  V P                   4      V n        V P                  4        V P                  P                  V P                  V P                  4      p	V P                  P                  4        V P%                  4        V'       d   V P                  '       dw   V P                  P(                  P*                  V P                   P,                  8  d>   \.        P0                  ! V P                  P(                  P*                  ^
,           4       X	# V'       d   \.        P0                  ! X4       X	#   \         d   p
RpT
P                  p Rp
?
LRp
?
i\          da   p
T P                   '       g   h T P                   P"                  '       d   T P%                  4        h T P'                  T
4       Rp^p Rp
?
ELGRp
?
ii ; i)z
Process command line options and arguments (if `self.settings` not
already set), run `self.reader` and then `self.writer`.  Return
`self.writer`'s output.
NT)r-   rr   rz   promptr'   readr)   r"   r&   r   r(   writer+   assemble_partsr   code	Exceptionrf   debugging_dumpsreport_Exceptionreporter	max_levelexit_status_levelro   exit)r0   rp   rQ   rR   r[   ri   rW   enable_exit_statusexit_r   errorexit_statuss   &&&&&&&&    r   publishPublisher.publish   s    	}}$))^2)//R2 KKMKKM KK,,T[[$++-1]]<DM!!#[[&&t}}d6F6FGFKK&&( 	4===''11MM334HHT]]++55:;  HH[!'  	%E**K 	===}}&&&$$&!!%(EK	s5   'F+ B?F+ +H76G		H7H7.H2&H22H7c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   '  s     : : :r   c                	   V P                   '       g   R # V P                  P                  '       dW   \        RV P                  R7       \        \
        P                  ! V P                  P                  4      V P                  R7       V P                  P                  '       dW   \        RV P                  R7       \        \
        P                  ! V P                   P                  4      V P                  R7       V P                  P                  '       d   \        RV P                  R7       \        RV P                  R7       \        \
        P                  ! V P                   P                  P                   UUUUu. uF:  w  rr4YP                  : RVP                  : 2T;'       d    VP                  V3NK<  	  upppp4      V P                  R7       V P                  P                  '       dX   \        RV P                  R7       \        V P                   P                  4       P!                  R4      V P                  R7       R # R # u uppppi )	Nz
::: Runtime settings:filez
::: Document internals:z
::: Transforms applied:z@ (priority, transform class, pending node details, keyword args).z
::: Pseudo-XML:raw_unicode_escape)r&   r-   dump_settingsprintr/   pprintpformat__dict__dump_internalsdump_transformsr   applied
__module____name__detailsdump_pseudo_xmlencode)r0   priorityxclasspendingkwargss   &    r   r   Publisher.debugging_dumps'  s   }}}==&&&+$,,?&..!7!78t||L=='''-DLLA&..!7!78t||L==(((-DLLA "(,6&.. MM--557 6 7Xw '8'8&//J--goov7 678 ?Cll	L
 ==(((%DLL9$--'')00$&,0LL: )	7s   =A Ic                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   >  s     ! ! !r   c                    V P                   P                  4       '       d!   V P                  P                  4       '       g   R#  \        P
                  R8X  d   RMRpRpRp T P                  P                  ^ ,          pT P                  P                  ^ ,          p\        R\         RT R	T R
T R2	T P                  R7       R#   \         d     R# i ; i  \        \        3 d     LOi ; i)z=Print info and prompt when waiting for input from a terminal.NntzCtrl+ZzCtrl+D zuseful formatsz	Docutils z/ <https://docutils.sourceforge.io>
converting "z" into "zT".
Call with option "--help" for more info.
.. Waiting for source text (finish with z on an empty line):r   )r)   isattyr/   AttributeErrorr   namer"   	supportedr(   
IndexErrorr   r   )r0   eot_key	in_format
out_formats   &   r   r   Publisher.prompt>  s    	KK&&((T\\-@-@-B-B .C !ggo(8	%
	--a0I..q1J 		+ '&Kx
| <99@	 B##
 <<	!  		 
+ 		s(   C C #:C CCC-,C-c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   T  s     2 2 2r   c                	<   \        V\        P                  4      '       d   V P                  V4       R
# \        V\        4      '       d   V P                  V4       R
# \        V\        P                  4      '       d9   V P                  P                  R \        P                  ! V4      ,          4       R
# \        V\        P                  4      '       d9   V P                  P                  R\        P                  ! V4      ,          4       R
# \        R\        P                  ! V4      ,          V P                  R7       \        R\         \        '       d   R\         R2MR R\        P                   P#                  4       ^ ,           R	2V P                  R7       R
# )z-Unable to open source file for reading:
  %s
z2Unable to open destination file for writing:
  %s
z%sr   zExiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users@lists.sourceforge.net>.
Include "--traceback" output, Docutils version (z []r   ),
Python version (z5), your OS type & version, and the command line used.N)r   r   SystemMessagereport_SystemMessageUnicodeEncodeErrorreport_UnicodeErrorr   
InputErrorr/   r   error_stringOutputErrorr   r   r   ro   versionrX   r0   r   s   &&r   r   Publisher.report_ExceptionT  s-   eU0011%%e,122$$U+r}}--LL  (*,//%*@ A Br~~..LL??5123 $//dllC 1 2= 3 32! < =""$Q'( ) %)LL2r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   j  s     ! !T !r   c                	    \        R VP                  : R\        P                  P                  VP                  ,          : R2V P
                  R7       R# )zExiting due to level-z (z) system message.r   N)r   levelr   Reporterlevelsr/   r   s   &&r   r   Publisher.report_SystemMessagej  s6    ++u~~44U[[AAC<<	!r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   o  s     5 5D 5r   c                	   VP                   VP                  VP                   pV P                  P	                  \
        P                  ! V4      : R V P                  P                  : RVP                  RR4      : RVP                  RR4      : RV P                  P                  : R\        : R\        P                  P                  4       ^ ,          : R	24       R
# )z!

The specified output encoding (z) cannot
handle all of the output.
Try setting "--output-encoding-error-handler" to

* "xmlcharrefreplace" (for HTML & XML output);
  the output will contain "asciixmlcharrefreplacezU" and should be usable.
* "backslashreplace" (for other output formats);
  look for "backslashreplacezr" in the output.
* "replace"; look for "?" in the output.

"--output-encoding-error-handler" is currently set to "z".

Exiting due to error.  Use "--traceback" to diagnose.
If the advice above doesn't eliminate the error,
please report it to <docutils-users@lists.sourceforge.net>.
Include "--traceback" output, Docutils version (r   z6), your OS type & version, and the
command line used.
N)objectstartendr/   r   r   r   r-   r   r   r   r   ro   r   rX   )r0   r   datas   && r   r   Publisher.report_UnicodeErroro  s    ||EKK		2* u%}},,{{7$78{{7$67}}::CKK--/2234	5r   )
r/   r+   r,   r&   r"   r'   r-   r)   r*   r(   )NN)NNNN)NNNNN)NNNNNNF)r   r   __qualname____firstlineno____doc__r   	FileInput
FileOutputr1   r7   r=   rG   r]   rb   rj   rr   rz   rx   ry   r   r   r   r   r   r   r   __static_attributes__r   r   r   r   r   %   s     #42<<!R]]4(l-%
)6,"	*7"DFG>5(T:.!,2,!
5 5r   r   z*%prog [options] [<source> [<destination>]]zReads from <source> (default is stdin) and writes to <destination> (default is stdout).  See https://docutils.sourceforge.io/docs/user/config.html for a detailed settings reference.Tc           
         \        WV4       T ;'       g    T;'       g    Rp T;'       g    T;'       g    RpT;'       g    T;'       g    Rp\        WWFR7      pVP                  WWVWR7      pV# )a(  
Set up & run a `Publisher` for command-line-based file I/O (input and
output file paths taken automatically from the command line).
Also return the output as `str` or `bytes` (for binary output document
formats).

Parameters: see `publish_programmatically()` for the remainder.

- `argv`: Command-line argument list to use instead of ``sys.argv[1:]``.
- `usage`: Usage string, output if there's a problem parsing the command
  line.
- `description`: Program description, output for the "--help" option
  (along with command-line option descriptions).

standalonerestructuredtext	pseudoxml)r-   rW   r   )_name_arg_warningr   r   )r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   rp   rQ   rR   	publisherr   s   &&&&&&&&&&&&&&  r   publish_cmdliner     s    , k<22{22lF88{88&8F11{11kF&&DI[1C%  NF Mr   c                    \        WWV	4       \        R/ R\        P                  bRV bRVbR\        P                  bRVbRVbRVbRVbR	VbR
VbRVbRV	bRV
bRVbRVbRVbRVb w  ppV# )z
Set up & run a `Publisher` for programmatic use with file-like I/O.
Also return the output as `str` or `bytes` (for binary output document
formats).

Parameters: see `publish_programmatically()`.
r*   r)   rv   r,   r+   rw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   r   )r   publish_programmaticallyr   r   r   )r)   rv   r+   rw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   r   
_publishers   &&&&&&&&&&&&&&&  r   publish_filer     s     k<1 
/\\
/*0
/>I
/--
/  
/ 3C
/ 	
/ $/	
/
 
/
 $/
/ 
/ $/
/ 
/ *7
/ .
/ &
/ .
/FJ Mr   c                    \        WFV4       \        R/ R\        P                  bRV bRVbR\        P                  bRRbRVbRVbR	VbR
VbRVbRVbRVbRV	bRV
bRVbRVbRVb w  rV# )u`  
Set up & run a `Publisher` for programmatic use with string I/O.

Accepts a `bytes` or `str` instance as `source`.

The output is encoded according to the `output_encoding`_ setting;
the return value is a `bytes` instance (unless `output_encoding`_ is
"unicode", cf. `docutils.io.StringOutput.write()`).

Parameters: see `publish_programmatically()` or
https://docutils.sourceforge.io/docs/api/publisher.html#publish-string

This function is provisional because in Python 3 name and behaviour
no longer match.

.. _output_encoding:
    https://docutils.sourceforge.io/docs/user/config.html#output-encoding
r*   r)   rv   r,   r+   Nrw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   r   )r   r   r   StringInputStringOutput)r)   rv   rw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   r   r   s   &&&&&&&&&&&&&&  r   publish_stringr    s    4 k<1 
/^^
/,2
/@K
///
/ 
/ ,<
/ 	
/ $/	
/
 
/
 $/
/ 
/ $/
/ 
/ *7
/ .
/ &
/ .
/F Mr   c                    \        WWV	4       \        R/ RV bRVbRVbR\        P                  bRRbRVbRVbR	VbR
VbRVbRVbRV	bRV
bRVbRVbRVbRVb w  ppVP                  P
                  # )a  
Set up & run a `Publisher`, and return a dictionary of document parts.

Dictionary keys are the names of parts.
Dictionary values are `str` instances; encoding is up to the client,
e.g.::

   parts = publish_parts(...)
   body = parts['body'].encode(parts['encoding'], parts['errors'])

See the `API documentation`__ for details on the provided parts.

Parameters: see `publish_programmatically()`.

__ https://docutils.sourceforge.io/docs/api/publisher.html#publish-parts
r)   rv   r*   r,   r+   Nrw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   r   )r   r   r   r  r(   r\   )r)   rv   r*   rw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   _outputr   s   &&&&&&&&&&&&&&&  r   publish_partsr  	  s    2 k<1 
/
/#.
/=I
///
/ 
/ ,<
/ 	
/ $/	
/
 
/
 $/
/ 
/ $/
/ 
/ *7
/ .
/ &
/ .
/GY !!!r   c                    \        WFR4       \        R/ RV bRVbRVbRRbRRbR\        P                  bRVbR	VbR
VbRVbRRbRRbRVbRVbRV	bRV
bRVb w  rVP                  # )zy
Set up & run a `Publisher` for programmatic use. Return a document tree.

Parameters: see `publish_programmatically()`.
Nr)   rv   r*   r+   rw   r,   r'   rF   r"   r5   r(   nullr;   r-   r[   ri   rW   r   r   )r   r   r   
NullOutputr&   )r)   rv   r*   r'   rF   r"   r5   r-   r[   ri   rW   r   r  r   s   &&&&&&&&&&&&  r   publish_doctreer
  2  s     k51 
/
/#.
/!
/ 
/ ,0
/ --	
/
 
/
 $/
/ 
/ $/
/ 
/ $(
/ 
/ *7
/ .
/ ?M
/ .
/G r   c	                :   \        RRV4       \        \        P                  ! 4       T;'       g    T;'       g    R\        P
                  ! V 4      \        P                  VR7      p	V	P                  WVV4       V	P                  RV4       V	P                  VR7      # )u  
Set up & run a `Publisher` to render from an existing document tree
data structure. For programmatic use with string output
(`bytes` or `str`, cf. `publish_string()`).

Note that ``document.settings`` is overridden; if you want to use the
settings of the original `document`, pass ``settings=document.settings``.

Also, new `document.transformer` and `document.reporter` objects are
generated.

Parameters: `document` is a `docutils.nodes.document` object, an existing
document tree.

Other parameters: see `publish_programmatically()`.

This function is provisional because in Python 3 name and behaviour
of the `io.StringOutput` class no longer match.
Nr   )r'   r(   r)   r,   r-   r   )
r   r   r   r!   r   DocTreeInputr  rj   ry   r   )
r&   rw   r(   r;   r-   r[   ri   rW   r   r   s
   &&&&&&&&& r   publish_from_doctreer  O  s    2 dD+.!1!'!E!E;!E!E+!#!:,.OO#+	-I
 ++>;d$450BCCr   r   r   r   c           
         \         P                  ! R\        ^R7       \        WWFVR7      pVP	                  WV4       VP                  WWVWR7      pV# )u  
Set up & run a `Publisher` for command-line-based file I/O (input and
output file paths taken automatically from the command line).
Also return the output as `bytes`.

This is just like publish_cmdline, except that it uses
io.BinaryFileOutput instead of io.FileOutput.

Parameters: see `publish_programmatically()` for the remainder.

- `argv`: Command-line argument list to use instead of ``sys.argv[1:]``.
- `usage`: Usage string, output if there's a problem parsing the command
  line.
- `description`: Program description, output for the "--help" option
  (along with command-line option descriptions).

Deprecated. Use `publish_cmdline()` (works with `bytes` since
Docutils 0.20). Will be removed in Docutils 0.24.
zg"publish_cmdline_to_binary()" is obsoleted by "publish_cmdline()" and will be removed in Docutils 0.24.rA   )r-   r,   r   )rC   rD   rV   r   rG   r   )r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   rp   rQ   rR   r+   r,   r   r   s   &&&&&&&&&&&&&&&&  r   publish_cmdline_to_binaryr  t  sg    @ MM '(:qJ &&,=?I[{C[1C%  NF Mr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r     s     C CT Cr   c            
         \        RV 4       F2  w  rVf   K  \        P                  ! RV RV RV R2\        ^R7       K4  	  R# )r'   Nz
Argument "z1_name" will be removed in Docutils 2.0.  Specify z name in the "z" argument.rA   )r'   r"   r(   )ziprC   rD   rE   )	name_args	componentname_args   *  r   r   r     sS    "#A9M	MMJyk 244=; ?%%.K{< 4C  Nr   c           	     8   T;'       g    T;'       g    RpT;'       g    T	;'       g    RpT
;'       g    T;'       g    Rp
\        WhWV VR7      pVP                  WV4       VP                  W4       VP                  WE4       VP	                  VR7      pVV3# )aD  
Set up & run a `Publisher` for custom programmatic use.

Return the output (as `str` or `bytes`, depending on `destination_class`,
writer, and the "output_encoding" setting) and the Publisher object.

Internal:
Applications should not call this function directly.  If it does
seem to be necessary to call this function directly, please write to the
Docutils-develop mailing list
<https://docutils.sourceforge.io/docs/user/mailing-lists.html#docutils-develop>.

Parameters:

* `source_class` **required**: The class for dynamically created source
  objects.  Typically `io.FileInput` or `io.StringInput`.

* `source`: Type depends on `source_class`:

  - If `source_class` is `io.FileInput`: Either a file-like object
    (must have 'read' and 'close' methods), or ``None``
    (`source_path` is opened).  If neither `source` nor
    `source_path` are supplied, `sys.stdin` is used.

  - If `source_class` is `io.StringInput` **required**:
    The input as either a `bytes` object (ensure the 'input_encoding'
    setting matches its encoding) or a `str` object.

* `source_path`: Type depends on `source_class`:

  - `io.FileInput`: Path to the input file, opened if no `source`
    supplied.

  - `io.StringInput`: Optional.  Path to the file or name of the
    object that produced `source`.  Only used for diagnostic output.

* `destination_class` **required**: The class for dynamically created
  destination objects.  Typically `io.FileOutput` or `io.StringOutput`.

* `destination`: Type depends on `destination_class`:

  - `io.FileOutput`: Either a file-like object (must have 'write' and
    'close' methods), or ``None`` (`destination_path` is opened).  If
    neither `destination` nor `destination_path` are supplied,
    `sys.stdout` is used.

  - `io.StringOutput`: Not used; pass ``None``.

* `destination_path`: Type depends on `destination_class`:

  - `io.FileOutput`: Path to the output file.  Opened if no `destination`
    supplied.

  - `io.StringOutput`: Path to the file or object which will receive the
    output; optional.  Used for determining relative paths (stylesheets,
    source links, etc.).

* `reader`: A `docutils.readers.Reader` instance, name, or alias.
  Default: "standalone".

* `reader_name`: Deprecated. Use `reader`.

* `parser`: A `docutils.parsers.Parser` instance, name, or alias.
  Default: "restructuredtext".

* `parser_name`: Deprecated. Use `parser`.

* `writer`: A `docutils.writers.Writer` instance, name, or alias.
  Default: "pseudoxml".

* `writer_name`: Deprecated. Use `writer`.

* `settings`: A runtime settings (`docutils.frontend.Values`) object, for
  dotted-attribute access to runtime settings.  It's the end result of the
  `SettingsSpec`, config file, and option processing.  If `settings` is
  passed, it's assumed to be complete and no further setting/config/option
  processing is done.

* `settings_spec`: A `docutils.SettingsSpec` subclass or object.  Provides
  extra application-specific settings definitions independently of
  components.  In other words, the application becomes a component, and
  its settings data is processed along with that of the other components.
  Used only if no `settings` specified.

* `settings_overrides`: A dictionary containing application-specific
  settings defaults that override the defaults of other components.
  Used only if no `settings` specified.

* `config_section`: A string, the name of the configuration file section
  for this application.  Overrides the ``config_section`` attribute
  defined by `settings_spec`.  Used only if no `settings` specified.

* `enable_exit_status`: Boolean; enable exit status at end of processing?
r   r   r   )r-   r*   r,   r  )r   rj   rx   ry   r   )r*   r)   rv   r,   r+   rw   r'   rF   r"   r5   r(   r;   r-   r[   ri   rW   r   r   r   s   &&&&&&&&&&&&&&&&&  r   r   r     s    L 22{22lF88{88&8F11{11kF&&'3,=?I ++>;-k<2DEF9r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   !  s     < < <r   c                   R V RV R2\         ,           p \        P                  ! \        P                  R4       \        WR7       R#   \        P                   d.   p\
        P                  P                  RT R24        Rp?LKRp?ii ; i)z	Generate zZ documents from standalone reStructuredText sources <https://docutils.sourceforge.io/docs/z>.  r   z(WARNING: Cannot set the default locale: z.
N)r(   rR   )	default_descriptionlocale	setlocaleLC_ALLErrorro   stderrr   r   )r(   documenttypedoc_pathrR   es   &&&  r   rst2somethingr#  !  s     L> "119
$	@ 	 
L+ 6; << L

CA3cJKKLs   %A	 	B#BBc                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   2  s     9 9$ 9r   c                      \        R RR4       R# )htmlHTMLzuser/html.html#htmlNr#  r   r   r   rst2htmlr)  2  s    &&"78r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   6  s     D D4 Dr   c                      \        R RR4       R# )html4z	XHTML 1.1zuser/html.html#html4css1Nr(  r   r   r   	rst2html4r-  6  s    ';(BCr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   :  s     E E4 Er   c                      \        R RR4       R# )html5HTML5zuser/html.html#html5-polyglotNr(  r   r   r   	rst2html5r2  :  s    '7$CDr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   >  s     7 74 7r   c                      \        R RR4       R# )latexLaTeXuser/latex.htmlNr(  r   r   r   	rst2latexr8  >  s    '7$56r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   B  s     I I Ir   c                      \        R RR4       R# )manpagezUnix manual (troff)zuser/manpage.htmlNr(  r   r   r   rst2manr<  B  s    )24GHr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   F  s     E E Er   c                      \        R RR4       R# )odtzOpenDocument text (ODT)zuser/odt.htmlNr(  r   r   r   rst2odtr@  F  s    %2ODr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   J  s     H Ht Hr   c                      \        R RR4       R# )r   zpseudo-XML (test)ref/doctree.htmlNr(  r   r   r   rst2pseudoxmlrD  J  s    +24FGr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   N  s     F F Fr   c                      \        R RR4       R# )s5zS5 HTML slideshowzuser/slide-shows.htmlNr(  r   r   r   rst2s5rH  N  s    $+-DEr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   R  s     J J4 Jr   c                      \        R RR4       R# )xetexzLaTeX (XeLaTeX/LuaLaTeX)r7  Nr(  r   r   r   	rst2xetexrL  R  s    '57HIr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   V  s     D D Dr   c                      \        R RR4       R# )xmlzDocutils-native XMLrC  Nr(  r   r   r   rst2xmlrP  V  s    %.0BCr   )NNNNNNNNNNNNNNF)NNNNNNNNNNNNF)NNNNNNNF)r   )4r   
__future__r   __docformat__r  r   r   ro   rC   docutilsr   r   r   r   r   r	   r
   r   docutils.frontendr   docutils.readersr   TYPE_CHECKINGtypingr   docutils.nodesr   r   default_usager  r   r   r  r  r  r
  r  BinaryFileOutputr  r   r   r#  r)  r-  r2  r8  r<  r@  rD  rH  rL  rP  r   r   r   <module>r[     s  
	 #"   	 
 < < < * $&f5 f5R =)   TTT!'+D'+$'5HD>'T '+#'444t%)$%*&"R )-!#TT!'+D',:"DJ &*|%)7I%){'+,015-115#'$1*=*.020C0C)XCrp<"9DE7IEHFJDr   