[mdoc] Added -api-style parameter.
[mono.git] / mcs / tools / mdoc / Mono.Documentation / msitomsx.cs
index 98f81db13e6bf45c17bfb7b9d19e61e383152acd..459ac1761b0219ea03bce1228b5d919213b3b9ca 100644 (file)
@@ -57,8 +57,6 @@ namespace Mono.Documentation {
 
                public override void Run (IEnumerable<string> args)
                {
-                       string current_library = "";
-
                        var types = new List<string> ();
                        string outdir = null;
 
@@ -151,6 +149,8 @@ namespace Mono.Documentation {
                                docs.Add (assembly, 
                                                asmdocs = new XDocument (
                                                        new XElement ("doc", 
+                                                               new XElement ("assembly",
+                                                                       new XElement ("name", assembly)),
                                                                new XElement ("members"))));
                        }