
    k7i                     $    S r S\S\S\\   4S jrg)zBShared utilities for help formatters and documentation generators.titlelevelreturnc                 t    SSSSSSS.nUS:  a  SnOUS	:  a  S	nX!   nU[        U 5      -  nUS:X  a  X@U/$ X/$ )
zCreate an RST section header.

Parameters
----------
title : str
    Section title.
level : int
    Heading level (1-6).

Returns
-------
list[str]
    RST formatted section header lines.
=-^"'~)                  r   r   )len)r   r   markersmarker	underlines        Z/home/james-whalen/.local/lib/python3.13/site-packages/cyclopts/help/formatters/_shared.pymake_rst_section_headerr      sg      G qy	^FU#Iz),,!!    N)__doc__strintlistr    r   r   <module>r      s&    H#"3 #"s #"tCy #"r   