File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/mkdocs_print_site_plugin Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import logging
22import re
3+ from typing import List , Tuple
34
45import jinja2
56from mkdocs .structure .toc import AnchorLink , TableOfContents
@@ -41,7 +42,7 @@ def __init__(
4142 def _get_items (self ):
4243 return [i for i in self .items if not i == self .print_page ]
4344
44- def write_combined (self ) -> tuple [str , TableOfContents ]:
45+ def write_combined (self ) -> Tuple [str , TableOfContents ]:
4546 """
4647 Generates the HTML of the page that combines all page into one, while filling
4748 a table of contents.
@@ -78,8 +79,8 @@ def get_html_and_anchor_links_from_items(
7879 excluded_pages : list ,
7980 level : int = 0 ,
8081 prefix : str = "" ,
81- heading_styles : list [str ] = [],
82- ) -> tuple [str , list [AnchorLink ]]:
82+ heading_styles : List [str ] = [],
83+ ) -> Tuple [str , List [AnchorLink ]]:
8384 """
8485 Get all the HTML and anchor links from the pages.
8586 """
You can’t perform that action at this time.
0 commit comments