Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Pryor <jonpryor@vt.edu>2010-09-03 01:16:58 +0400
committerDuncan Mak <duncanm@microsoft.com>2016-10-08 03:29:21 +0300
commit8dfd2a7de1696db3b3296c05ff10367578e7d974 (patch)
tree3466187b3d665b84915d78006c27a7cb631013e4 /mdoc/Test/en.expected.importecmadoc
parentd6b15cc6e4eca1f26aa295a385faca29cb8b5285 (diff)
[mdoc-update] Generate an index.xml file when --type is used.
(Yet another "Let's help ECMA!" fix...) For performance reasons, I want to use this workflow: mdoc x-msitomsx -o slashdocs msidocs --type=A mdoc update -o docs -i slashdocs/mscorlib.xml mscorlib.dll --type=A mdoc update-ecma-xml -o CLILibraryTypes.xml --type=A That is, have a consistent set of --type=TYPEs that are passed between the three apps. I want to do this because otherwise 'mdoc update' takes 12 minutes to process the assemblies I need; with this approach, it takes 12 seconds. Unfortunately, 'mdoc update-ecma-xml' needs an index.xml so it can obtain assembly-level custom attributes, and 'mdoc update --type...' wasn't creating an index.xml file. Doh! Fix: IFF docs/index.xml is NOT present, create a docs/index.xml file which contains ONLY the types & namespaces that were encountered. If docs/index.xml IS present, it's unchanged. This fix allows the above workflow to Just Work, while maintaining the other "I know this type has been updated, let's not process the entire assembly" workflow that --type allows.
Diffstat (limited to 'mdoc/Test/en.expected.importecmadoc')
-rw-r--r--mdoc/Test/en.expected.importecmadoc/index.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/mdoc/Test/en.expected.importecmadoc/index.xml b/mdoc/Test/en.expected.importecmadoc/index.xml
new file mode 100644
index 00000000..c2ec0ea2
--- /dev/null
+++ b/mdoc/Test/en.expected.importecmadoc/index.xml
@@ -0,0 +1,21 @@
+<Overview>
+ <Assemblies>
+ <Assembly Name="DocTest" Version="0.0.0.0">
+ <Attributes>
+ <Attribute>
+ <AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName>
+ </Attribute>
+ </Attributes>
+ </Assembly>
+ </Assemblies>
+ <Remarks>To be added.</Remarks>
+ <Copyright>To be added.</Copyright>
+ <Types>
+ <Namespace Name="System">
+ <Type Name="Action`1" DisplayName="Action&lt;T&gt;" Kind="Delegate" />
+ <Type Name="Array" Kind="Class" />
+ <Type Name="AsyncCallback" Kind="Delegate" />
+ <Type Name="Environment" Kind="Class" />
+ </Namespace>
+ </Types>
+</Overview>