public ActionResult Index()
        {
            string descriptorPath = Request.MapPath("/Content/SpecOverFlow.xml");

            HelpDescriptionParser parser = new HelpDescriptionParser();
            var helpDescription = parser.Parse(descriptorPath);

            var urlReferrer = Request.UrlReferrer;
            if (urlReferrer == null)
                urlReferrer = Request.Url;
            var page = helpDescription.Pages.FirstOrDefault(p => p.Path == urlReferrer.AbsolutePath);
            if (page == null)
                return Content("");

            return PartialView("_IndexPartial", page);
        }
 public static void FlushEvents()
 {
     var parser = new HelpDescriptionParser();
     parser.SaveTo(helpDescription, ConfigurationManager.AppSettings["livingHelpPath"]);
 }