============== Configurations ============== |THIS| can build multiple presentations. You can configure in ``conf.py`` for all presentations. Basic configurations ==================== .. confval:: revealjs_static_path :Type: ``list`` :Default: ``[]`` (empty) :Example: ``["_static"]`` List of static files directory ( same as :confval:`sphinx:html_static_path` ) .. confval:: revealjs_js_files :Type: ``list`` :Default: ``[]`` (empty) :Example: ``["custom.js"]`` List of using custom css (same as :confval:`sphinx:html_js_files` ). When you want to use JS that does not related revealjs, can use this. .. confval:: revealjs_css_files :Type: ``list`` :Default: ``[]`` (empty) :Example: ``["custom.css"]`` List of using custom css (same as :confval:`sphinx:html_css_files` ). If you want to customize presentation by CSS, write external css and use it. .. confval:: revealjs_use_index :Type: ``bool`` :Default: ``False`` Flag that does builder generate ``genindex.html`` (same as :confval:`sphinx:html_use_index` ). .. confval:: revealjs_html_theme :Type: ``str`` :Default: ``revealjs-basic`` :Example: ``revealjs-simple`` Using HTML Theme for output contents. It can set any html theme, but it should set theme made for revealjs. Bundled themes are: * ``revealjs-basic`` : Inherit style from basic html theme. * ``revealjs-simple`` : Minimal defined style. Style Configurations ==================== .. confval:: revealjs_style_theme :Type: ``str`` :Default: ``black`` :Example: ``moon``, ``custom.css`` Theme name of stylesheet for Reveal.js. * | If value does not have suffix ``.css``, | use bundled Reveal.js theme(included ``revealjs/css/theme``). Presentation Configurations =========================== .. confval:: revealjs_use_section_ids :Type: ``boolean`` :Default: ``False`` If this is set ``True``, inject ``id`` attribute into ``section`` element (parent of headings). This means that change format of internal links (default is numbering style). .. confval:: revealjs_script_files :Type: ``List[str]`` :Default: ``[]`` :Example: ``["presentation.js"]`` List of sources that render as ``script`` tags. There is bundled Reveal.js script at ``revealjs/js/reveal.js``. Example: .. code-block:: html