Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/docutils/__pycache__/frontend.cpython-311.pyc



]jBdZdZddlZddlZddlZddlmZddlZddlZddlZddl	Z	ddl
Z
ddl
mZmZdZ
dZ	d#dZ	d#d	Z	d#d
Z	d#dZ	d#dZ	d#d
Z	d#dZ	d#dZ	d#dZ	d#dZ	d#dZ	d#dZ	d#dZd$dZdZdZGddejZGddej Z Gddej!e
j"Z!Gddej#Z$Gd d!e%Z&d"Z'dS)%a
Command-line and common processing for Docutils front-end tools.

This module is provisional.
Major changes will happen with the switch from the deprecated
"optparse" module to "arparse".

Applications should use the high-level API provided by `docutils.core`.
See https://docutils.sourceforge.io/docs/api/runtime-settings.html.

Exports the following classes:

* `OptionParser`: Standard Docutils command-line processing.
  Deprecated. Will be replaced by an ArgumentParser.
* `Option`: Customized version of `optparse.Option`; validation support.
  Deprecated. Will be removed.
* `Values`: Runtime settings; objects are simple structs
  (``object.attribute``).  Supports cumulative list settings (attributes).
  Deprecated. Will be removed.
* `ConfigParser`: Standard Docutils config file processing.
  Provisional. Details will change.

Also exports the following functions:

Interface function:
   `get_default_settings()`.  New in 0.19.

Option callbacks:
   `store_multiple()`, `read_config_file()`. Deprecated.

Setting validators:
  `validate_encoding()`, `validate_encoding_error_handler()`,
  `validate_encoding_and_error_handler()`,
  `validate_boolean()`, `validate_ternary()`,
  `validate_nonnegative_int()`, `validate_threshold()`,
  `validate_colon_separated_string_list()`,
  `validate_comma_separated_list()`,
  `validate_url_trailing_slash()`,
  `validate_dependency_file()`,
  `validate_strip_class()`
  `validate_smartquotes_locales()`.

  Provisional.

Misc:
  `make_paths_absolute()`, `filter_settings_spec()`. Provisional.
reStructuredTextN)
SUPPRESS_HELP)ioutilsc|D]}t|j|d|D]\}}t|j||dS)z
    Store multiple values in `parser.values`.  (Option callback.)

    Store `None` for each attribute named in `args`, and store the value for
    each key (attribute name) in `kwargs`.
    N)setattrvaluesitems)optionoptvalueparserargskwargs	attributekeys        q/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/docutils/frontend.pystore_multiplerEsf00	
y$////llnn++
U
sE****++c	||}n,#t$r}||Yd}~nd}~wwxYw|j||dS)zQ
    Read a configuration file during option processing.  (Option callback.)
    N)get_config_file_settings
ValueErrorerrorr	update)rrr
rnew_settingserrs      rread_config_filerRsz66u==S
Mv.....s
A<Ac|dkrdS	tj|n$#t$rtd|d|dwxYw|S)Nz	setting "z": unknown encoding: "")codecslookupLookupErrorsettingr

option_parser
config_parserconfig_sections     rvalidate_encodingr)]sp{{t.
e...k$WWeee-..	..Ls	!Acr	tj|n #t$rtd|zwxYw|S)Nzunknown encoding error handler: "%s" (choices: "strict", "ignore", "replace", "backslashreplace", "xmlcharrefreplace", and possibly others; see documentation for the Python ``codecs`` module))r!lookup_errorr#r$s     rvalidate_encoding_error_handlerr,is^5E""""555
,/4
455	55Ls4cd|vre|d\}}t|dz|||||r|||dz|nt|j|dz|n|}t||||||S)z
    Side-effect: if an error handler is included in the value, it is inserted
    into the appropriate place as if it was a separate setting/option.
    :_error_handler)splitr,setrr	r))r%r
r&r'r(encodinghandlers       r#validate_encoding_and_error_handlerr4vse||!KK,,''&&>	+	+	+	Ong8H.H%
'
'
'
'
M('4D*DgNNNNgx#^555Orct|tr|S	|j|S#t
$rt
d|zwxYw)z|Check/normalize boolean settings:
         True:  '1', 'on', 'yes', 'true'
         False: '0', 'off', 'no','false', ''
    zunknown boolean value: "%s")
isinstanceboolbooleansstriplowerKeyErrorr#r$s     rvalidate_booleanr<sv%A%ekkmm&9&9&;&;<<AAA7%?@@@As0A

A'ct|ts||S	|j|S#t
$r|cYSwxYw)zCheck/normalize three-value settings:
         True:  '1', 'on', 'yes', 'true'
         False: '0', 'off', 'no','false', ''
         any other value: returned as-is.
    )r6r7r8r9r:r;r$s     rvalidate_ternaryr>sj%%-%ekkmm&9&9&;&;<<s0AAAcNt|}|dkrtd|S)Nrz(negative value; must be positive or zero)intrr$s     rvalidate_nonnegative_intrAs*JJEqyyCDDDLrc	t|S#t$rJ	|j|cYS#tt
f$rt
d|zwxYwwxYw)Nzunknown threshold: %r.)r@r
thresholdsr:r;AttributeErrorr#r$s     rvalidate_thresholdrEs@5zz@@@	@ +EKKMM::::.)	@	@	@6>???	@@s
A%=A%$A!!A%ct|ts|d}n<|}||d|S)Nr.)r6listr0popextend)r%r
r&r'r(lasts      r$validate_colon_separated_string_listrKsUeT""&C  yy{{
TZZ__%%%Lrct|ts|g}|}d|dD}|||S)zHCheck/normalize list arguments (split at "," and strip whitespace).
    cbg|],}|d|d-S)z 	
)r9).0is  r
<listcomp>z1validate_comma_separated_list.<locals>.<listcomp>s5KKK!!''':J:JKQWWW

KKKr,)r6rGrHr0rI)r%r
r&r'r(rJr
s       rvalidate_comma_separated_listrRs`eT""99;;DKKtzz#KKKE	LLLrcB|sdS|dr|S|dzS)Nz.//)endswithr$s     rvalidate_url_trailing_slashrVs2t			s{rct	tj|S#t$rtjdcYSwxYwN)rDependencyListOSErrorr$s     rvalidate_dependency_filer[sJ*#E******#D)))))*s77ct|||||}|D]=}tj|}||krt	d|d|d>|S)NzInvalid class value z
 (perhaps z?))rRdocutilsnodesmake_idr)r%r
r&r'r(cls
normalizeds       rvalidate_strip_classrbs
*'5-*7
I
IE22^++C00
** #ZZZ122
2Lrc	:t|||||}g}|D]}	|dd\}}nT#t$r||Y?t$r't	d|ddzwxYw|}|d}	t|	dkr|	}n9t|dkr&t	d|ddz|||f|S)z~Check/normalize a comma separated list of smart quote definitions.

    Return a list of (language-tag, quotes) string tuples.r.z4Invalid value "%s". Format is "<language>:<quotes>".asciibackslashreplacez[Invalid value "%s". Please specify 4 quotes
    (primary open/close; secondary open/close).)rRr0rDappendrencoder9len)
r%r
r&r'r(	lc_quotesitemlangquotesmultichar_quotess
          rvalidate_smartquotes_localesrpsw
*'5-*7
I
IEI))
	I::c1--LD&&			
T"""H	I	I	IA#{{74FGGHII
I	I
!<<,,  A%%%FF
[[A

O#{{74FGGHII
I	$((((s6B0Bctj|D]I}||vrC||}t|trfd|D}n|rt	|}|||<JdS)z
    Interpret filesystem path settings relative to the `base_path` given.

    Paths are values in `pathdict` whose keys are in `keys`.  Get `keys` from
    `OptionParser.relative_path_settings`.
    Nc0g|]}t|S)make_one_path_absolute)rNpath	base_paths  rrPz'make_paths_absolute.<locals>.<listcomp>)s3,,,!0	4@@,,,r)osgetcwdr6rGrt)pathdictkeysrvrr
s  `  rmake_paths_absoluter{sIKK	""(??SME%&&
A,,,,%*,,,
A.y%@@!HSM""rc|tjtj||SrX)rwruabspathjoin)rvrus  rrtrt0s&
7??27<<	488999rct|}tdt|dD]}g}||D]f}d|dDd}||vr||vr|||Q||gt|||<t|S)ajReturn a copy of `settings_spec` excluding/replacing some settings.

    `settings_spec` is a tuple of configuration settings
    (cf. `docutils.SettingsSpec.settings_spec`).

    Optional positional arguments are names of to-be-excluded settings.
    Keyword arguments are option specification replacements.
    (See the html4strict writer for an example.)
    ctg|]5}|d|dddd6S)z--rN-_)
startswithreplace)rN
opt_strings  rrPz(filter_settings_spec.<locals>.<listcomp>DsS888&%00668
122..sC88888rrdr)rGrangerjrzrhtuple)
settings_specexcludersettingsrOnewoptsopt_specopt_names        rfilter_settings_specr4sM""H
1c(mmQ
'
'
%
% 
	)
	)H88*21+88889;H7""7<<>>))wx01111x((((Gnn??rc4eZdZdZfdZdZdZdZxZS)ValueszStorage for option values.

    Updates list attributes by extension rather than by replacement.
    Works in conjunction with the `OptionParser.lists` instance attribute.

    Deprecated. Will be removed.
    ctjdtdtj|i|t|ddt
j|_dSdS)Nz@frontend.Values class will be removed in Docutils 0.21 or later.r
stacklevelrecord_dependencies)	warningswarnDeprecationWarningsuper__init__getattrrrYrselfrr	__class__s   rrzValues.__init__Zsv
3(Q	8	8	8	8	$)&)))4.55=',';'='=D$$$>=rc&t|tr|j}t|}|jD]6}t
||r$||vr t||}|r|||z
}||=7||dSrX)	r6r__dict__dictlistsrzhasattrr
_update_loose)r
other_dictr&r%r
s     rrz
Values.updatecsj&))	-#,J*%%
$*//11	,	,GtW%%
,'Z*?*?g..,Z00E"7+:&&&&&rctj5tjdt||jcdddS#1swxYwYdS)z Return a shallow copy of `self`.ignorecategory)defaultsN)rcatch_warningsfilterwarningsrrr)rs rcopyzValues.copyos

$
&
&	:	:#H7IJJJJ>>4=>99	:	:	:	:	:	:	:	:	:	:	:	:	:	:	:	:	:	:s6AAAcft||dt|||t||S)znReturn ``self.name`` or ``default``.

        If ``self.name`` is unset, set ``self.name = default``.
        N)rr)rnamedefaults   r
setdefaultzValues.setdefaultus8
4t$$,D$(((tT"""r)	__name__
__module____qualname____doc__rrrr
__classcell__rs@rrrQso>>>>>
'
'
':::#######rrcNeZdZdZejjddgzZfdZfdZxZ	S)Optionz`Add validation and override support to `optparse.Option`.

    Deprecated. Will be removed.
    	validator	overridescrtjdtdtj|i|dS)NzDThe frontend.Option class will be removed in Docutils 0.21 or later.rr)rrrrrrs   rrzOption.__init__sJ
3(Q	8	8	8	8	$)&)))))rc	t||||}|j}|r|jrxt	||}	||||}n>#t
$r1}t
jd|dtj	|d}~wwxYwt||||jrt||jd|S)z
        Call the validator function on applicable settings and
        evaluate the 'overrides' option.
        Extends `optparse.Option.process`.
        zError in option "z":
    N)rprocessdestrr	ExceptionoptparseOptionValueErrorrerror_stringrr)
rrr
r	rresultr%	new_valuerrs
         rrzOption.processseVV<<)	6~
4007 $wv F FII 777"3333 4 4 467777333~
6555
sA
B),BB)
rrrrrrATTRSrrrrs@rrrsq

O![+$>>E*****rrceZdZdZgdZ	dZ	dddddd	Z	d
d
d
d
dddddd	Z	e	e
jd
dpej
pdZdZddgddgddifddgddifdddgdedfddgd d!d"fd#d$d%gd&d'd(d)fd*d+d,gd&d-d(d)fd.d/gd&dd(d)fd0d1d2gdedfd3d4gdd5ifd6d7gd8ed9d:fd;d<gd=d&d>d>d?fd@dAgd=d&dBdCfdDdEgd=d dFfdGdHgddedIfdJdKgdLd dFfdMdNgddOdedPfdQdRgd dOd"fdSdTgdedfdUdVgd dWd"fdXdYgdZd[d\ed]fd^d_gdZd`d\ed]fdadbdcgeddddeedffdgdhdigd&dddd)fdjdkdlgd&dddd)fdmdngedoddeedpfdqdrgd&ddod)fdsdtgeduddeedpfdvdwgdedfdxdygd dzd"fd{d|gd}d~dfddgddedIfddgdd dFfdddgdedfddgdedfdddgddedfddgdedfdededddgdeedfdezdgeedfdddgddddfddgd~eddfddgd~dd8edfdddgddifdddgddifedgddifedgddifedgddifedgddifedgddifedgddifedgdZdedfedgddifRfZ	dddddZ	dZdejejr
dejzpdde
j dde
j!dǝZ"	dӈfdɄ	Z#dʄZ$e%d˄Z&d̄Z'd̈́Z(d΄Z)dτZ*dЄZ+dфZ,d҄Z-xZ.S)OptionParsera
    Settings parser for command-line and library use.

    The `settings_spec` specification here and in other Docutils components
    are merged to build the set of command-line options and runtime settings
    for this process.

    Common settings (defined below) and component-specific settings must not
    conflict.  Short options are reserved for common settings, and components
    are restricted to using long options.

    Deprecated.
    Will be replaced by a subclass of `argparse.ArgumentParser`.
    )z/etc/docutils.confz./docutils.confz~/.docutilsz(info 1 warning 2 error 3 severe 4 none 5rdrrrg)infowarningrseverenoneTF)	1onyestrue0offnofalserr2NrerfzGeneral Docutils OptionszaOutput destination name. Obsoletes the <destination> positional argument. Default: None (stdout).z--outputmetavarz
<destination>z'Specify the document title as metadata.z--titlez<title>z2Include a "Generated by Docutils" credit and link.z--generatorz-g
store_true)actionrz"Do not include a generator credit.z--no-generatorstore_false	generator)rrz2Include the date at the end of the document (UTC).z--datez-dstore_constz%Y-%m-%d	datestamp)rconstrzInclude the time & date (UTC).z--timez-tz%Y-%m-%d %H:%M UTCz'Do not include a datestamp of any kind.z--no-datestampz&Include a "View document source" link.z
--source-linkz-sz3Use <URL> for a source link; implies --source-link.z--source-urlz<URL>z-Do not include a "View document source" link.z--no-source-linkcallback)source_link
source_url)rr
callback_argsz4Link from section headers to TOC entries.  (default)z--toc-entry-backlinks
toc_backlinksentry)rrrrz0Link from section headers to the top of the TOC.z--toc-top-backlinkstop)rrrz+Disable backlinks to the table of contents.z--no-toc-backlinks)rrz6Link from footnotes/citations to references. (default)z--footnote-backlinks)rrrz/Disable backlinks from footnotes and citations.z--no-footnote-backlinksfootnote_backlinksz0Enable section numbering by Docutils.  (default)z--section-numbering
sectnum_xform)rrrrz&Disable section numbering by Docutils.z--no-section-numberingz/Remove comment elements from the document tree.z--strip-commentsz6Leave comment elements in the document tree. (default)z--leave-commentsstrip_commentszRemove all elements with classes="<class>" from the document tree. Warning: potentially dangerous; use with caution. (Multiple-use option.)z--strip-elements-with-classrhstrip_elements_with_classesz<class>)rrrrzRemove all classes="<class>" attributes from elements in the document tree. Warning: potentially dangerous; use with caution. (Multiple-use option.)z
--strip-class
strip_classeszReport system messages at or higher than <level>: "info" or "1", "warning"/"2" (default), "error"/"3", "severe"/"4", "none"/"5"z--reportz-rreport_levelz<level>)choicesrrrrz4Report all system messages.  (Same as "--report=1".)z	--verbosez-vz3Report no system messages.  (Same as "--report=5".)z--quietz-qzdHalt execution at system messages at or above <level>.  Levels as in --report.  Default: 4 (severe).z--halt
halt_level)rrrrrz6Halt at the slightest problem.  Same as "--halt=info".z--strictzjEnable a non-zero exit status for non-halting system messages at or above <level>.  Default: 5 (disabled).z
--exit-statusexit_status_levelz3Enable debug-level system messages and diagnostics.z--debugz Disable debug output.  (default)z
--no-debugdebugz-Send the output of system messages to <file>.z
--warningswarning_streamz<file>)rrz1Enable Python tracebacks when Docutils is halted.z--tracebackz%Disable Python tracebacks.  (default)z--no-traceback	tracebackzdSpecify the encoding and optionally the error handler of input text.  Default: <auto-detect>:strict.z--input-encodingz-iz<name[:handler]>)rrzlSpecify the error handler for undecodable characters.  Choices: "strict" (default), "ignore", and "replace".z--input-encoding-error-handlerstrict)rrz^Specify the text encoding and optionally the error handler for output.  Default: utf-8:strict.z--output-encodingz-outf-8)rrrzSpecify error handler for unencodable output characters; "strict" (default), "ignore", "replace", "xmlcharrefreplace", "backslashreplace".z--output-encoding-error-handlerzOSpecify text encoding and optionally error handler for error output.  Default: r..z--error-encodingz-ezSSpecify the error handler for unencodable characters in error output.  Default: %s.z--error-encoding-error-handlerz<Specify the language (as BCP 47 language tag).  Default: en.z
--languagez-l
language_codeenz<name>)rrrz)Write output file dependencies to <file>.z--record-dependencies)rrrz6Read configuration settings from <file>, if it exists.z--configstring)rtyperrz,Show this program's version number and exit.z	--versionz-Vrversionz Show this help message and exit.z--helpz-hhelpz--id-prefixrrz--auto-id-prefix%z--dump-settingsz--dump-internalsz--dump-transformsz--dump-pseudo-xmlz--expose-internal-attributeexpose_internals)rrrz--strict-visitor)_disable_config_source_destination
_config_filesgeneralz%prog (Docutils z [%s]z	, Python rz, on )rscji|_	g|_	dg|_tjdt
dt
j|tdtj
dd||js|j|_|g|R|_
||j
|j|pi|rp|jd	se	|}n,#t$$r}||Yd}~nd}~wwxYw|j|jdSdSdS)
zSet up OptionParser instance.

        `components` is a list of Docutils components each containing a
        ``.settings_spec`` attribute.
        `defaults` is a mapping of setting default overrides.
        rztThe frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.rrNN)width)option_classadd_help_option	formatterr)rconfig_filesrelative_path_settingsrrrrrrrTitledHelpFormatterrversion_template
componentspopulate_from_componentsrrget_standard_config_settingsrrr)	rr
rread_config_filesrrconfig_settingsrrs	        rrzOptionParser.__init__s
(;'7&8#
3)Q	8	8	8	8	'-d#+#?b#I#I#I	*	*"(	*	*	*|	10DL-*--%%do666
X^,,,	;T]3D%E	;
 "&"C"C"E"E
 
 
 

3
 M  !9:::::	;	;	;	;sC$$
D
.DD
cL|D]}||j}|j|jtdt	|dD]}|||dz\}}}|r,tj|||}||n|}|D]=\}	}
}|j|
d|	i|}|	ddkrd|j
|j<>|jr|j
|j|D]*}|r&|jr|j
|j+dS)aoCollect settings specification from components.

        For each component, populate from the `SettingsSpec.settings_spec`
        structure, then from the `SettingsSpec.settings_defaults` dictionary.
        After all components have been processed, check for and populate from
        each component's `SettingsSpec.settings_default_overrides` dictionary.
        NrrrrrhT)rr
rIrrjrOptionGroupadd_option_group
add_optiongetrrsettings_defaultsrrsettings_default_overrides)
rr
	componentrrOtitledescriptionoption_specgroup	help_textoption_stringsrrs
             rrz%OptionParser.populate_from_componentss$	F	FI %3M'..0
2
2
21c-00!44

F

F2?!A#2F/{K!$0ukJJE))%0000 E;F777Y-U-~8980688Fzz(++x7726
6;/.FM(()DEEE

F$	K	KI
KYA
K
$$Y%IJJJ	K	Krcdtjvr0tjdtj}n|j}d|DS)z:Return list of config files, from environment or standard.DOCUTILSCONFIGctg|]5}|tj|6Srs)r9rwru
expanduser)rNfs  rrPz:OptionParser.get_standard_config_files.<locals>.<listcomp>s5III!qwwyyI""1%%IIIr)rwenvironr0pathsepstandard_config_files)r`r	s  rget_standard_config_filesz&OptionParser.get_standard_config_filessLrz)):&67==bjIILL4LII|IIIIrc.tj5tjdtt	}dddn#1swxYwY|D]+}||||,|S)Nrr)rrrrrr(rr)rrfilenames   rrz)OptionParser.get_standard_config_settingss

$
&
&	 	 #H7IJJJJxxH	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 6688	K	KHOOD99(CCTJJJJs*A

AAct}t}tj5tjdt
|xj|||z
c_t}dddn#1swxYwY|j	D]r}|st|jpd|jfzD]M}||vr|
|||r||||Nst!|j|jt&j||jS)zAReturns a dictionary containing appropriate config file settings.rrNrs)ConfigParserr1rrrrr	readrr
rconfig_section_dependenciesr(addhas_sectionrr{rr
rwrudirname)rconfig_filer'appliedrrsections       rrz%OptionParser.get_config_file_settingss$
%%

$
&
&	 	 #H7IJJJJ!3!3K!F!FFxxH	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 		B		BI
!)"G"M2NN(79:
B
Bg%%G$$$ ,,W55BOOM'$:DAAA

B	H- 7GOOK88	:	:	:  sAB

BBc||\|_|_t|j|j|j|_|S)z/Store positional arguments as runtime settings.)
check_argsrrr{rr
r	r)rr	rs   rcheck_valueszOptionParser.check_valuessB.2ood.C.C++FOT-HIII#0
rcdx}}|r|d}|dkrd}|r|d}|dkrd}|r|d|r||kr|d||fS)NrrzMaximum 2 arguments allowed.z_Do not specify the same file for both source and destination.  It will clobber the source file.)rHr)rrsourcedestinations    rr6zOptionParser.check_argss##	XXa[[F}}	#((1++Kc!!"	7JJ5666	If++JJH
I
I
I{""rc:|j|dSrX)rrrrs  rset_defaults_from_dictz#OptionParser.set_defaults_from_dicts
X&&&&&rctj5tjdtt	|j}dddn#1swxYwY|j|_|S)z(Needed to get custom `Values` instances.rrN)rrrrrrr	rr<s  rget_default_valueszOptionParser.get_default_valuess

$
&
&	-	-#H7IJJJJdm,,H	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-"&!2s0AAAcx|j|gzD]}|jD]}|j|kr|ccStd|z)a
        Get an option by its dest.

        If you're supplying a dest which is shared by several options,
        it is undefined which option of those is returned.

        A KeyError is raised if there is no option with the supplied
        dest.
        zNo option with dest == %r.)
option_groupsoption_listrr;)rrrrs    rget_option_by_destzOptionParser.get_option_by_destsi'4&0	"	"E+
"
";$&&!MMMMM'
"3d:;;;r)rsNF)/rrrrr'r0threshold_choicesrCr8rsysstderrr_locale_encodingdefault_error_encoding$default_error_encoding_error_handlerr<rrbrEr4r,r[rrrKrrr(r]__version____version_details__rplatformrrrclassmethodr(rrr7r6r=r?rCrrs@rrrs	



CHHJJGAANNJ@dDuEEuFFH?%gcj*dCC)!#!4)!(,>(	#e	9,O4
6e	4+	9-
/e	
?$
L/?"A"A
Be	/
LL
Ne	?T
}z%022
3e	+T
}&:%022
3e	"4
'244
5#e	(3D
!l1A$C$C
D)e	.@
Y0
2/e	2:
^9;;
<3e	:A"
#"mg
 ;e	B= 
!"me
L
L
NCe	H8
 "m
<
<
>Ie	NC!
"!a(**
+Oe	V<$
%'=
A
A
CWe	\= 
!!?&688
9]e	d3#
$"O
<
<
>ee	j<
!0@
A
A
Cke	pC
",<
=
=
?qe	v#)
)'D.BDD	
Ewe	B#
.BDD	
ECe	NKt
*;'5),>@@
AOe	XA
-!(6 8 8
9Ye	^@d

&466
7_e	d9*"3\"#	$688
9ee	nC,=1!-//
0oe	t6
):&9)*y+=??
@ue	@@+,%577
8Ae	F-.]GDD
FGe	J:.#3II
KKe	N>/lt)9;;
<Oe	T2
{mLL
NUe	XIt
$(;==
>Ye	bB+
,-L
M
M
Oce	j,
%(W;==
>ke	t5-
--L
M
M	
Oue	e	B$
#
#%I%I%IKt
$(5K;==	
>e	J(01,
,:799	
:Ke	VI
T,4!6!6
7We	\6"
#-E
]e	dC,Hh#-;KMM
Nee	j9
)4
6ke	n-T
Xv.
0oe	t-9b/	:ue	v,-	3/?	@we	z+,x.F	G{e	|,-,/G	H}e	~-.<0H	Ie	@-.<0H	IAe	B78'9<>>
?Ce	H,-,/G	HIe	e	hMR0-1$()-*.00
NN$//#7D&x'CCJGIJJ;,,..q1113<<<	A
#";";";";";";HKKK@JJ[J!!!0###"'''<<<<<<<rrcReZdZdZddddZ	dZdZdfd		Zd
ZdZ	dZ
d
ZxZS)r,aZParser for Docutils configuration files.

    See https://docutils.sourceforge.io/docs/user/config.html.

    Option key normalization includes conversion of '-' to '_'.

    Config file encoding is "utf-8". Encoding errors are reported
    and the affected file(s) skipped.

    This class is provisional and will change in future versions.
    )pep_html writer
stylesheet)rOstylesheet_path)rOtemplate)pep_stylesheetpep_stylesheet_pathpep_templateaThe "[option]" section is deprecated.
Support for old-format configuration files will be removed in Docutils 0.21 or later.  Please revise your configuration files.  See <https://docutils.sourceforge.io/docs/user/config.html>, section "Old-Format Configuration Files".zhUnable to read configuration file "%s": content not encoded as UTF-8.
Skipping "%s" configuration file.
Nc|tjdtdg}t|tr|g}|D]}	|t|dz
}n9#t$r,tj	
|j||fzY_wxYwd|vr||||
|||S)Nzbfrontend.ConfigParser.read(): parameter "option_parser" will be removed in Docutils 0.21 or later.rrr)r2options)rrrr6strrr-UnicodeDecodeErrorrErFwritenot_utf8_errorhandle_old_configvalidate_settings)r	filenamesr&read_okr*rs     rr-zConfigParser.readOs$M7-
<
<
<
<i%%	$"I!
	@
	@H
577<<7<CCC%



  !4(7K!KLLL
D  &&x000(&&x???s&A&&3BBctj|jt|d|d}|ds|d|D]z\}}||jvr;|j|\}}||s||nd}|}|	||s|
|||{|ddS)NrrWr)r
warn_explicitold_warningConfigDeprecationWarningget_sectionr0add_sectionr
old_settings
has_optionr1remove_section)rr*rWrr
r4r%s       rr\zConfigParser.handle_old_configgst/1I'	,	,	,""9--	**	(Y'''!--//		2		2JCd'''#'#4S#9 ''00.$$W---#??7G44
2'5111I&&&&&rc|D]}||D]}	||}n#t$rY%wxYw|jr|||}	||||||}nB#t$r5}td|d|dtj	|d|d|
d}~wwxYw|
||||jr|
||jdߌdS)zi
        Call the validator function and implement overrides on all applicable
        settings.
        )r'r(zError in config file "z
", section "[z]":
    z	
        z = N)sectionsrWrCr;rrrrrrr1r)	rr*r&r4r%rr
rrs	         rr]zConfigParser.validate_settingsys
}}	>	>G<<00
>
>*==gFFFFH#: HHWg66EI$*$4$4#UM*.w%5%H%H		%III(*H(*H*H6=*H*H020D0D*H*H5<*H*HAF*H*HIIII
HHWgy999#>HHWf&6===%
>	>	>s)A
AA3B
C
0CC
cR|ddS)z
        Lowercase and transform '-' to '_'.

        So the cmdline form of option names can be used in config files.
        rr)r:r)r	optionstrs  roptionxformzConfigParser.optionxforms$  ((c222rctjdtd	t||S#t$ricYSwxYw)z
        Return a given section as a dictionary.

        Return empty dictionary if the section doesn't exist.

        Deprecated. Use the configparser "Mapping Protocol Access" and
        catch KeyError.
        zNfrontend.OptionParser.get_section() will be removed in Docutils 0.21 or later.rr)rrrrr;)rr4s  rrdzConfigParser.get_sectionsc	
C(Q	8	8	8	8	W
&&&			III	s3AArX)
rrrrrfrbr[r-r\r]rmrdrrs@rr,r,.s

<E799L
	4N
0'''$>>>4333rr,ceZdZdZdS)rcz3Warning for deprecated configuration file features.N)rrrrrsrrrcrcs====rrcctj5tjdtt	|cdddS#1swxYwYdS)a|Return default runtime settings for `components`.

    Return a `frontend.Values` instance with defaults for generic Docutils
    settings and settings from the `components` (`SettingsSpec` instances).

    This corresponds to steps 1 and 2 in the `runtime settings priority`__.

    __ https://docutils.sourceforge.io/docs/api/runtime-settings.html
       #settings-priority
    rrN)rrrrrr?)r
s rget_default_settingsrqs
	 	"	"==3EFFFFJ''::<<==================s<AA!$A!)NNrX)(r
__docformat__r!configparserrrrwos.pathrErr]rrrrr)r,r4r<r>rArErKrRrVr[rbrpr{rtrrrrSettingsSpecRawConfigParserr,
FutureWarningrcrqrsrr<module>rxsK
..`#



""""""				




+
+
+///:>				HL



GK09=AAAA9= AE;?@@@@GKFJ



"GKAE****=AEI!!!!H""""(::::+#+#+#+#+#X_+#+#+#\"""""X_"""JG<G<G<G<G<8((*?G<G<G<T|||||</|||~>>>>>}>>>
=
=
=
=
=r
Back to Directory File Manager