From ed7801aa57c74fdb7db9914019078f4f6fc6e56d Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 11 Sep 2024 21:15:52 +0200 Subject: [PATCH] fix long line in software-markdown-pages.py script --- docs/version-specific/software-markdown-pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/version-specific/software-markdown-pages.py b/docs/version-specific/software-markdown-pages.py index b1c515714..b1f19e1c5 100644 --- a/docs/version-specific/software-markdown-pages.py +++ b/docs/version-specific/software-markdown-pages.py @@ -37,14 +37,14 @@ def output_markdown(processed, output_base_path): :param processed: Processed data to output (dictionary - letter -> software -> list of versions) :param output_base_path: Pathlib object for base path of output """ - software_cnt = sum(len(v) for v in processed.values()) + pkg_cnt = sum(len(v) for v in processed.values()) letters = sorted(processed.keys()) with open(output_base_path / 'index.md', 'w') as top_page: top_page.write(MKDOCS_SEARCH_PRIORITY) top_page.write("# List of supported software\n\n") top_page.write(generate_quick_links_line(letters, 0)) - top_page.write(f"EasyBuild supports {software_cnt} different software packages (incl. toolchains, bundles):\n\n") + top_page.write(f"EasyBuild supports {pkg_cnt} different software packages (incl. toolchains, bundles):\n\n") for letter in processed: top_page.write(f" * [{letter}]({letter}/index.md)\n")