private void createIndexYmlFile()
        {
            ContentCopier copier = new ContentCopier("indextemplateyml.yml", rootFolder, "index.yml");

            copier.AddMapping("title", designDoc.Title);
            copier.AddMapping("date", DateTime.Now.ToShortDateString());
            copier.AddMapping("summary", designDoc.Summary);
            copier.AddMapping("learning_objectives", designDoc.LearningObjectives, true);
            copier.AddMapping("prerequisites", designDoc.Prerequisites, true);
            copier.AddMapping("level", designDoc.Level.ToLower());
            copier.AddMapping("roles", designDoc.GetRolesForIndexYml());
            //copier.AddMapping("products", designDoc.Products);
            copier.AddMapping("units", designDoc.GetUnitsForIndexYml(moduleUID));
            copier.AddMapping("module_uid", moduleUID);
            copier.Start();
        }
        private void createMdFiles()
        {
            for (int i = 0; i < designDoc.Units.Count; i++)
            {
                string markdown_file_uid = (i + 1).ToString() + "-" + NamingHelper.ReplaceSpacesWithHyphen(designDoc.Units[i].Title, true);

                if (designDoc.Units[i].IsKnowledgeCheck)
                {
                    continue;
                }
                else if (designDoc.Units[i].IsExercise)
                {
                    ContentCopier copier = new ContentCopier("exercisetemplatemd.md", includesFolder, markdown_file_uid + ".md");
                    copier.AddMapping("notes", designDoc.Units[i].Notes);
                    copier.Start();
                }
                else if (i == 0)
                {
                    ContentCopier copier = new ContentCopier("introductiontemplatemd.md", includesFolder, markdown_file_uid + ".md");
                    copier.AddMapping("notes", designDoc.Units[i].Notes);
                    copier.AddMapping("learning_objectives", designDoc.LearningObjectives);
                    copier.AddMapping("prerequisites", designDoc.Prerequisites);
                    copier.Start();
                }
                else if (i == designDoc.Units.Count - 1)
                {
                    ContentCopier copier = new ContentCopier("summarytemplatemd.md", includesFolder, markdown_file_uid + ".md");
                    copier.AddMapping("notes", designDoc.Units[i].Notes);
                    copier.Start();
                }
                else
                {
                    ContentCopier copier = new ContentCopier("learningcontenttemplatemd.md", includesFolder, markdown_file_uid + ".md");
                    copier.AddMapping("notes", designDoc.Units[i].Notes);
                    copier.Start();
                }
            }
        }
        private void createYmlFiles()
        {
            for (int i = 0; i < designDoc.Units.Count; i++)
            {
                string markdown_file_uid = (i + 1).ToString() + "-" + NamingHelper.ReplaceSpacesWithHyphen(designDoc.Units[i].Title, true);

                ContentCopier copier;
                if (designDoc.Units[i].IsKnowledgeCheck)
                {
                    copier = new ContentCopier("knowledgechecktemplateyml.yml", rootFolder, markdown_file_uid + ".yml");
                }
                else
                {
                    copier = new ContentCopier("unittemplateyml.yml", rootFolder, markdown_file_uid + ".yml");
                }

                copier.AddMapping("title", designDoc.Units[i].Title);
                copier.AddMapping("date", DateTime.Now.ToShortDateString());
                copier.AddMapping("markdown_file_uid", markdown_file_uid);
                copier.AddMapping("unit_uid", moduleUID + "." + designDoc.Units[i].ToString());
                copier.Start();
            }
        }