CCNet.Build.Reconfigure.ReleaseProjectPage.RenderPage C# (CSharp) Method

RenderPage() public method

public RenderPage ( ) : PageDocument
return CCNet.Build.Confluence.PageDocument
		public override PageDocument RenderPage()
		{
			var page = base.RenderPage();

			var addBefore = page.Root.XElement("table/tbody/tr/th[text()='Description']").Parent;
			addBefore.AddBeforeSelf(new XElement("tr", new XElement("th", "Title"), RenderTitle()));

			var xmlDoc = page.Root.XElement("table/tbody/tr/th[text()='XML documentation']");
			if (xmlDoc != null && Documentation == DocumentationType.None)
			{
				xmlDoc.Parent.Remove();
			}

			return page;
		}