asciidoxy/generator/asciidoc.py
def multipage_toc(self, side: str = "left") -> str:
        """Insert a table of contents for multipage documents.

        Only supported for the HTML backend and when multipage mode is on.

        This command needs to be included in the document headers to work. To not break headers
        when multipage mode is off, it is recommended to add it to the end of the headers.

        Args:
            side: Show the multipage TOC at the `left` or `right` side.
        """
        if not self._context.multipage or self._context.preprocessing_run:
            return ""

        toc_content = multipage_toc(self._context.current_document, side)
        with _docinfo_footer_file_name(self._current_file).open(mode="w", encoding="utf-8") as f:
            f.write(toc_content)
        return ":docinfo: private"
Insert a table of contents for multipage documents.

        Only supported for the HTML backend and when multipage mode is on.

        This command needs to be included in the document headers to work. To not break headers
        when multipage mode is off, it is recommended to add it to the end of the headers.

        Args:
            side: Show the multipage TOC at the `left` or `right` side.
        
Insert a table of contents for multipage documents.
Only supported for the HTML backend and when multipage mode is on.

This command needs to be included in the document headers to work. To not break headers
when multipage mode is off, it is recommended to add it to the end of the headers.
Insert a table of contents for multipage documents . Only supported for the HTML backend and when multipage mode is on . This command needs to be included in the document headers to work . To not break headers when multipage mode is off it is recommended to add it to the end of the headers .
def multipage_toc(self, side: str = "left") -> str:
        if not self._context.multipage or self._context.preprocessing_run:
            return ""
        toc_content = multipage_toc(self._context.current_document, side)
        with _docinfo_footer_file_name(self._current_file).open(mode="w", encoding="utf-8") as f:
            f.write(toc_content)
        return ":docinfo: private"
def multipage_toc ( self , side : str = "left" ) -> str : if not self . _context . multipage or self . _context . preprocessing_run : return "" toc_content = multipage_toc ( self . _context . current_document , side ) with _docinfo_footer_file_name ( self . _current_file ) . open ( mode = "w" , encoding = "utf-8" ) as f : f . write ( toc_content ) return ":docinfo: private"
Insert a table of contents for multipage documents.
Insert a table of contents for multipage documents .
"""Insert a table of contents for multipage documents.

        Only supported for the HTML backend and when multipage mode is on.

        This command needs to be included in the document headers to work. To not break headers
        when multipage mode is off, it is recommended to add it to the end of the headers.

        Args:
            side: Show the multipage TOC at the `left` or `right` side.
        """
self
side
str
Show the multipage TOC at the `left` or `right` side.
Show the multipage TOC at the ` left ` or ` right ` side .