From 955700a60c6a5ff646618d21d69b92b8f244d259 Mon Sep 17 00:00:00 2001 From: Harvey Lynden Date: Tue, 5 Nov 2024 12:44:52 +0100 Subject: [PATCH] Urgent Homepage Fix Index Home Page index.html was missing added to branchhh Signed-off-by: Harvey Lynden --- index.html | 121 ++++++++++++++++++++++++++++++++++++++++++ scripts/mergefiles.py | 8 +-- 2 files changed, 125 insertions(+), 4 deletions(-) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..120d1cf --- /dev/null +++ b/index.html @@ -0,0 +1,121 @@ +--- +layout: null +--- + + + + + + + + + + + Avocado Testing Framework + + + +
+
+ + Avocado Logo + +

+ Avocado +

+
+ + + +
+ +
+

Avocado Testing Framework

+
+
+
+
+
+ +
+
+ Suitcase Icon +

Avocado-Framework

+

A set of tools and libraries to help with automated testing.

+ Learn more +
+ +
+ Computer Icon +

Avocado VT

+

A compatibility plugin that lets you execute virtualization related tests.

+ Learn more +
+ +
+ Wheel Icon +

Aexpect

+

A Python library used to spawn and control interactive programs.

+ Learn more +
+ +
+ Book Icon +

Autils

+

Utility libraries to power your tests and general applications.

+ Learn more +
+
+ + +

Latest News

+ +
+ +
+ {% for version in site.data.releases.versions %} +
+
+

+ {{ version.name }} +

+

{{ version.date }}

+
+
+ {% endfor %} +
+ + +
+ + + + + diff --git a/scripts/mergefiles.py b/scripts/mergefiles.py index 274d8c1..38e4cdd 100644 --- a/scripts/mergefiles.py +++ b/scripts/mergefiles.py @@ -14,12 +14,12 @@ def merge_yaml_files(directory, output_file): # Load the YAML data while preserving order data = yaml.load(file, Loader=yaml.SafeLoader) # Use SafeLoader - # Check if the loaded data is a list - if isinstance(data, list): - merged_data.extend(data) # Merge the list into merged_data + # Check if the loaded data is a dictionary + if isinstance(data, dict): + merged_data.append(data) # Append the dictionary to merged_data else: print( - f"Warning: The content of {filename} is not a list. Skipping." + f"Warning: The content of {filename} is not a dictionary. Skipping." ) # Write the merged data to the output YAML file