2 .\" mdoc-update manual page.
3 .\" (C) 2008 Jonathan Pryor
5 .\" Jonathan Pryor (jpryor@novell.com)
7 .de Sp \" Vertical space (when we can't use .PP)
13 mdoc update \- \fBmdoc\fR(5) documentation format support
15 \fBmdoc update\fR [OPTIONS]* ASSEMBLIES
17 \fBmdoc update\fR is responsible for the following:
20 Creating documentation stubs based on \fIASSEMBLIES\fR. The stub-creation
21 process will create new \fBmdoc\fR(5) XML files for each type within
22 \fIASSEMBLIES\fR, and provide documentation stubs for each member of those
26 Update documentation stubs based on \fIASSEMBLIES\fR. Existing \fBmdoc\fR(5)
27 documentation can be updated to reflect changes within \fIASSEMBLIES\fR, such
28 as added types and members, while preserving existing documentation.
30 In some limited circumstances, renames will be tracked, minimizing the
31 documentation burden when e.g. a parameter is renamed.
33 creates stubs and updates documentation in the \fBmdoc\fR(5)
34 documentation format from \fIASSEMBLIES\fR.
36 \fBmdoc update\fR does not rely on documentation found within source code.
38 See \fBmdoc\fR(1) and \fBmdoc\fR(5) for more information.
42 Allow \fBmdoc update\fR to delete members from documentation files.
43 The only members deleted are members which are no longer present within
44 \fIASSEMBLIES\fR and are not present in any other assembly versions.
46 If a type is no longer present, the documentation file is \fInot\fR
47 deleted, but is instead \fIrenamed\fR to have a \fB.remove \fR extension.
49 Version detection is done with the \fI//AssemblyVersion\fR elements; if there
50 are no \fI//AssemblyVersion\fR elements for a given \fI<Type>\fR or
51 \fI<Member/>\fR, then the \fI<Type>\fR will be renamed and/or the
52 \fI<Member/>\fR will be removed.
54 \fB\-i\fR, \fB\-\-import\fR=\fIFILE\fR
55 Import documentation found within \fIFILE\fR.
57 \fIFILE\fR may contain either \fIcsc /doc\fR XML or \fIECMA-335\fR XML.
59 \fB\-o\fR, \fB\-\-out\fB=\fIDIRECTORY\fR
60 Place the generated stubs into \fIDIRECTORY\fR.
62 When updating documentation, \fIDIRECTORY\fR is also the source directory.
64 Display a help message and exit.
73 Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
75 Visit http://www.mono-project.com for details