Loading ci/setup_pages.py +3 −1 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ def create_landing_page_float_repo(jobs, index_html): # dynamically create the complexity links on the landing page link_html = list() link_html = ["<ul>"] for job, link_text in jobs.items(): if job.startswith("complexity"): line = f'<li><a href="{job}-public/index.html">{link_text}</a></li>' Loading @@ -92,9 +93,10 @@ def create_landing_page_float_repo(jobs, index_html): index_pages_tmpl_path = ( pathlib.Path(__file__).parent.joinpath("index-pages.html").absolute() ) with open(index_pages_tmpl_path) as f: index_pages_tmpl = f.read() print(index_pages_tmpl) index_pages_tmpl = index_pages_tmpl.format(link_html_text) with open(index_html, "w") as f: Loading Loading
ci/setup_pages.py +3 −1 Original line number Diff line number Diff line Loading @@ -82,6 +82,7 @@ def create_landing_page_float_repo(jobs, index_html): # dynamically create the complexity links on the landing page link_html = list() link_html = ["<ul>"] for job, link_text in jobs.items(): if job.startswith("complexity"): line = f'<li><a href="{job}-public/index.html">{link_text}</a></li>' Loading @@ -92,9 +93,10 @@ def create_landing_page_float_repo(jobs, index_html): index_pages_tmpl_path = ( pathlib.Path(__file__).parent.joinpath("index-pages.html").absolute() ) with open(index_pages_tmpl_path) as f: index_pages_tmpl = f.read() print(index_pages_tmpl) index_pages_tmpl = index_pages_tmpl.format(link_html_text) with open(index_html, "w") as f: Loading