2 using System.Collections.Generic;
6 // All type of documents that a generator may find as input
7 public enum DocumentType {
8 EcmaXml, // Our main monodoc format
12 MonoBook, // This is mostly XHTML already, just need a tiny bit of processing
14 TocXml, // Used by help source displaying some kind of toc of the content they host
19 /* This interface defines a set of transformation engine
20 * that convert multiple documentation source to a single output format
22 public interface IDocGenerator<TOutput>
24 /* This method is responsible for finding out the documentation type
25 * for the given ID and use the right engine internally
26 * The id can be accompanied by a context dictionary giving away extra
27 * informtion to the renderer
29 TOutput Generate (HelpSource hs, string internalId, Dictionary<string, string> context);