<commit_before>	
function createDropdown()
{
	// configurable values:
	var defaultTitle = "mrtk_development"; 	// title in the dropdown for the root version of the docs
	var versionArray = ["v1.0", "v2.0"];	// list of all versions in the version folder
	
	//--------------------------------------

	var versionDropDiv = document.getElementById('versionDropdown');
	var btn = document.createElement('button');
	btn.className = "dropbtn";
	var btnText = document.createTextNode("Version");
	btn.appendChild(btnText);
	var innerDiv = document.createElement('div');
	innerDiv.className = "version-dropdown-content";
	versionDropDiv.appendChild(btn);
	versionDropDiv.appendChild(innerDiv);

	// create default
	createEntry(innerDiv, defaultTitle, "/README.html");
	
	// create version entries
	for (i = 0; i<versionArray.length; i++) 
	{ 
		createEntry(innerDiv, versionArray[i], "/version/"+versionArray[i]+"/README.html");
	}
}



function createEntry(attachTo, name, url)
{
	var a = document.createElement('a');
	var linkText = document.createTextNode(name);
	a.appendChild(linkText);
	a.href = url;
	a.title = name;
	attachTo.appendChild(a);
}

createDropdown();<commit_msg>removed debug version entries<commit_after>	
function createDropdown()
{
	// configurable values:
	var defaultTitle = "mrtk_development"; 	// title in the dropdown for the root version of the docs
	var versionArray = [];	// list of all versions in the version folder
	
	//--------------------------------------

	var versionDropDiv = document.getElementById('versionDropdown');
	var btn = document.createElement('button');
	btn.className = "dropbtn";
	var btnText = document.createTextNode("Version");
	btn.appendChild(btnText);
	var innerDiv = document.createElement('div');
	innerDiv.className = "version-dropdown-content";
	versionDropDiv.appendChild(btn);
	versionDropDiv.appendChild(innerDiv);

	// create default
	createEntry(innerDiv, defaultTitle, "/README.html");
	
	// create version entries
	for (i = 0; i<versionArray.length; i++) 
	{ 
		createEntry(innerDiv, versionArray[i], "/version/"+versionArray[i]+"/README.html");
	}
}



function createEntry(attachTo, name, url)
{
	var a = document.createElement('a');
	var linkText = document.createTextNode(name);
	a.appendChild(linkText);
	a.href = url;
	a.title = name;
	attachTo.appendChild(a);
}

createDropdown();
{'fraction_non_alphanumeric': 0.16090534979423868, 'fraction_numerical': 0.0024691358024691358, 'mean_word_length': 3.5781544256120528, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7436833', 'n_tokens_mistral': 757, 'n_tokens_neox': 717, 'n_words': 166}