관리-도구
편집 파일: __init__.cpython-311.pyc
� P�Dg�8 � �p � d Z dZddlZddlZddlZddlZddlmZmZmZ ddl m Z ej ej � ej � � d� � ej � ej � e� � d� � � � Zd� Z G d � d e j � � Z G d� de j � � ZdS ) z S5/HTML Slideshow Writer. �reStructuredText� N)�frontend�nodes�utils)� html4css1�dummy�themesc �� � t j � t | � � }t j � |� � st j d| �d|�d�� � �|S )NzTheme directory not found: z (path: �))�os�path�join�themes_dir_path�isdir�docutils�ApplicationError)�namer s ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/docutils/writers/s5_html/__init__.py� find_themer s` � � �7�<�<���.�.�D� �7�=�=���� G��'�'�:>�$�$����E�G� G� G��K� c � � e Zd Zej j ddddgdddd�fd d gddd �fddgdej d�fddgddd�fddgddgddd�fddgddej d �fd!d"gd#dd�fd$d%gdej d�fd&d'gd(dd�ff fz Zd)d*iZd+Z d,Z d-� Zd.S )/�WriterzS5 Slideshow Specific Optionsz�For the S5/HTML writer, the --no-toc-backlinks option (defined in General Docutils Options above) is the default, and should not be changed.aB Specify an installed S5 theme by name. Overrides --theme-url. The default theme name is "default". The theme files will be copied into a "ui/<theme>" directory, in the same directory as the destination file (output HTML). Note that existing theme files will not be overwritten (unless --overwrite-theme-files is used).z--theme�defaultz<name>� theme_url)r �metavar� overridesz�Specify an S5 theme URL. The destination file (output HTML) will link to this theme; nothing will be copied. Overrides --theme.z--theme-urlz<URL>�theme)r r z{Allow existing theme files in the ``ui/<theme>`` directory to be overwritten. The default is not to overwrite theme files.z--overwrite-theme-files� store_true)�action� validatorzfKeep existing theme files in the ``ui/<theme>`` directory; do not overwrite any. This is the default.z--keep-theme-files�overwrite_theme_files�store_false)�destr z@Set the initial view mode to "slideshow" [default] or "outline".z--view-mode� slideshow�outlinez<mode>)�choicesr r zONormally hide the presentation controls in slideshow mode. This is the default.z--hidden-controlsT)r r r z^Always show the presentation controls in slideshow mode. The default is to hide the controls.z--visible-controls�hidden_controlszMEnable the current slide indicator ("1 / 15"). The default is to disable it.z--current-slidez:Disable the current slide indicator. This is the default.z--no-current-slide� current_slide� toc_backlinksr zs5_html writer)�writerszhtml writerszhtml4css1 writerc �\ � t j � | � � t | _ d S �N)r r �__init__�S5HTMLTranslator�translator_class��selfs r r- zWriter.__init__Y s'