2 .\" mdoc-export-html manual page.
3 .\" (C) 2008 Novell, Inc.
5 .\" Jonathan Pryor (jpryor@novell.com)
7 .de Sp \" Vertical space (when we can't use .PP)
11 .TH "mdoc-export-html" 1
13 mdoc export-html \- Convert \fBmdoc\fR(5) XML to HTML.
15 \fBmdoc export-html\fR [OPTION]* DIRECTORIES
17 \fBmdoc export-html\fR creates HTML files from the \fBmdoc\fR(5)-formatted
18 documentation XML files within \fIDIRECTORIES\fR.
21 .B \-\-default\-template
22 Writes the default XSLT used to \fIstdout\fR.
24 \fB\-\-ext\fR=\fIEXTENSION\fR
25 The file extension to use for created files.
27 This defaults to \fIhtml\fR.
29 \fB\-\-force-update\fR
30 Always generate new files. If not specified,
31 will only generate a new output file if the source
32 documentation file is newer than the target output file.
34 \fB\-o\fR, \fB\-\-out\fR=\fIDIRECTORY\fR
35 Write the created files within directory \fIDIRECTORY\fR.
37 \fB\-\-template\fR=\fIFILE\fR
38 An XSLT file to use to generate the created files.
40 If not specified, uses the template produced by \fI\-\-dump\-template\fR.
42 See the \fITEMPLATE FORMAT\fR section below for more information.
44 \fB\-\-with\-profile\fR=\fIPROFILE\fR
45 Only process types and members within the .NET profile \fIPROFILE\fR.
46 May be specified multiple times. If not specified, all types and members,
47 regardless of version, are processed.
61 \fB\-\-with\-version\fR=\fIVERSION\fR
62 Only process types and members within the assembly version \fIVERSION\fR.
63 May be specified multiple times. If not specified, all types and members,
64 regardless of version, are processed.
66 \fIVERSION\fR is an assembly version, e.g. 2.0.5.0.
68 \fB\-h\fR, \fB\-?\fR, \fB\-\-help\fR
69 Display a help message and exit.
71 The template file is an XSLT which needs to process the following input XML
76 <CollectionTitle>Collection Title</CollectionTitle>
77 <PageTitle>Page Title</PageTitle>
78 <Summary>Page Summary</Summary>
79 <Signature>Type Declaration</Signature>
80 <Remarks>Type Remarks</Remarks>
81 <Members>Type Members</Members>
82 <Copyright>Documentation Copyright</Copyright>
86 The generated HTML also makes use of several CSS classes. You can either use
87 the \fIcreate-default-style\fR named template found within the
88 \fI\-\-default\-template\fR output to generate these classes, or explicitly
89 define the following CSS classes:
127 .I .EnumerationsTable
135 .I .InnerSignatureTable
137 .I .TypePermissionsTable
142 All members within the HTML file have an \fIid\fR
143 attribute to permit linking to a specific member. The value of the
144 \fIid\fR attribute is the String ID of the specified member.
146 See the \fICREF FORMAT\fR section of \fBmdoc\fR(5) for more information.
149 Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
151 Visit http://www.mono-project.com/mdoc for details