[1146] | 1 | <configuration>
|
---|
| 2 | <dduetools>
|
---|
| 3 | <builder>
|
---|
| 4 | <components>
|
---|
| 5 |
|
---|
| 6 | <!-- Create skeleton document -->
|
---|
| 7 | <component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 8 | <data file="..\..\Help\Presentation\Style\Transforms\skeleton.xml" />
|
---|
| 9 | <copy source="/*" target="/" />
|
---|
| 10 | </component>
|
---|
| 11 |
|
---|
| 12 | <!-- Copy in reflection data -->
|
---|
| 13 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 14 | <index name="reflection" value="/reflection/apis/api" key="@id" cache="10">
|
---|
| 15 | <data base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" />
|
---|
| 16 | <data files=".\reflection.xml" />
|
---|
| 17 | </index>
|
---|
| 18 | <copy name="reflection" source="*" target="/document/reference" />
|
---|
| 19 | </component>
|
---|
| 20 |
|
---|
| 21 | <!-- Copy in container data -->
|
---|
| 22 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 23 | <copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" />
|
---|
| 24 | </component>
|
---|
| 25 | <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 26 | <variable expression="/document/reference/containers//type/@api" />
|
---|
| 27 | <components>
|
---|
| 28 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 29 | <copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" />
|
---|
| 30 | </component>
|
---|
| 31 | </components>
|
---|
| 32 | </component>
|
---|
| 33 |
|
---|
| 34 | <!-- Copy in explicitInterfaceImplemented reflection data -->
|
---|
| 35 | <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 36 | <variable expression="/document/reference/implements/member/@api | /document/reference/implements//type/@api" />
|
---|
| 37 | <components>
|
---|
| 38 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 39 | <copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" />
|
---|
| 40 | <copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" />
|
---|
| 41 | </component>
|
---|
| 42 | </components>
|
---|
| 43 | </component>
|
---|
| 44 |
|
---|
| 45 | <!-- Copy in parameter data -->
|
---|
| 46 | <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 47 | <variable expression="/document/reference/parameters/parameter//type/@api" />
|
---|
| 48 | <components>
|
---|
| 49 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 50 | <copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" />
|
---|
| 51 | </component>
|
---|
| 52 | </components>
|
---|
| 53 | </component>
|
---|
| 54 |
|
---|
| 55 | <!-- Generate syntax -->
|
---|
| 56 | <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 57 | <if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" />
|
---|
| 58 | <then>
|
---|
| 59 | <component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 60 | <syntax input="/document/reference" output="/document/syntax" />
|
---|
| 61 | <generators>
|
---|
| 62 | <generator type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
---|
| 63 | <generator type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
---|
| 64 | <generator type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
---|
| 65 | <generator type="Microsoft.Ddue.Tools.ScriptSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
---|
| 66 | </generators>
|
---|
| 67 | </component>
|
---|
| 68 | </then>
|
---|
| 69 | </component>
|
---|
| 70 |
|
---|
| 71 | <!-- Copy in comments -->
|
---|
| 72 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 73 | <index name="comments" value="/doc/members/member" key="@name" cache="100">
|
---|
| 74 | <data base="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727" recurse="false" files="*.xml" />
|
---|
| 75 | <data files="Comments\*.xml" />
|
---|
| 76 | </index>
|
---|
| 77 | <copy name="comments" source="*" target="/document/comments" />
|
---|
| 78 | <components>
|
---|
| 79 | <!-- copy comments for inheritdoc -->
|
---|
| 80 | <component type="Microsoft.Ddue.Tools.InheritDocumentationComponent" assembly="%DXROOT%\ProductionTools\CopyComponents.dll">
|
---|
| 81 | <copy name="comments" use="reflection" />
|
---|
| 82 | </component>
|
---|
| 83 | </components>
|
---|
| 84 | </component>
|
---|
| 85 |
|
---|
| 86 | <!-- Copy in reflection data and comments for members -->
|
---|
| 87 | <component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 88 | <variable expression="/document/reference/elements//element/@api" />
|
---|
| 89 | <components>
|
---|
| 90 | <component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 91 | <if condition="not(/document/reference/elements/element[@api=$key]/apidata)" />
|
---|
| 92 | <then>
|
---|
| 93 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 94 | <copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" />
|
---|
| 95 | </component>
|
---|
| 96 | </then>
|
---|
| 97 | </component>
|
---|
| 98 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 99 | <copy name="comments" source="summary|overloads|inheritdoc" target="/document/reference/elements//element[@api=$key]" />
|
---|
| 100 | <components>
|
---|
| 101 | <!-- copy comments for inheritdoc -->
|
---|
| 102 | <component type="Microsoft.Ddue.Tools.InheritDocumentationComponent" assembly="%DXROOT%\ProductionTools\CopyComponents.dll">
|
---|
| 103 | <copy name="comments" use="reflection" />
|
---|
| 104 | </component>
|
---|
| 105 | </components>
|
---|
| 106 | </component>
|
---|
| 107 | </components>
|
---|
| 108 | </component>
|
---|
| 109 |
|
---|
| 110 | <!-- Copy in comments for the member's declaring type. -->
|
---|
| 111 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 112 | <copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" />
|
---|
| 113 | </component>
|
---|
| 114 |
|
---|
| 115 | <!-- Resolve tokens -->
|
---|
| 116 | <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 117 | <content file="..\..\Help\Settings\tokens.xml" />
|
---|
| 118 | <replace elements="/*//token" item="string(.)" />
|
---|
| 119 | <content file=".\version_content.xml" /></component>
|
---|
| 120 |
|
---|
| 121 | <!-- Copy in metadata attributes -->
|
---|
| 122 | <component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 123 | <index name="metadata" value="/metadata/topic" key="@id">
|
---|
| 124 | <data files="..\..\Help\Settings\metadata.xml" />
|
---|
| 125 | </index>
|
---|
| 126 | <copy name="metadata" key="string("*")" source="*" target="/document/metadata" />
|
---|
| 127 | </component>
|
---|
| 128 |
|
---|
| 129 | <!-- Resolve external links -->
|
---|
| 130 | <component type="DaveSexton.Sandcastle.ResolveExternalLinksComponent" assembly="%DocProjectPath%\bin\DaveSexton.Sandcastle.dll">
|
---|
| 131 | <mappings target="_blank" file="..\..\Help\Settings\links.xml" />
|
---|
| 132 | </component>
|
---|
| 133 |
|
---|
| 134 | <!-- transform -->
|
---|
| 135 | <component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 136 | <transform file="..\..\Help\Presentation\Style\Transforms\main_sandcastle.xsl">
|
---|
| 137 | <argument key="metadata" value="true" />
|
---|
| 138 | <argument key="languages">
|
---|
| 139 | <language label="VisualBasic" name="VisualBasic" style="vb" />
|
---|
| 140 | <language label="CSharp" name="CSharp" style="cs" />
|
---|
| 141 | <language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" />
|
---|
| 142 | <!--<language label="JSharp" name="JSharp" style="cs" />
|
---|
| 143 | <language label="JScript" name="JScript" style="cs" />-->
|
---|
| 144 | <language label="JavaScript" name="JavaScript" style="cs" />
|
---|
| 145 | </argument>
|
---|
| 146 | <argument key="bibliographyData" value="../../../Settings/bibliography.xml" /></transform>
|
---|
| 147 | </component>
|
---|
| 148 |
|
---|
| 149 | <!-- resolve shared content -->
|
---|
| 150 | <component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 151 | <content file="..\..\Help\Presentation\Style\content\shared_content.xml" />
|
---|
| 152 | <content file="..\..\Help\Presentation\Style\content\reference_content.xml" />
|
---|
| 153 | <content file="..\..\Help\Presentation\Shared\content\syntax_content.xml" />
|
---|
| 154 | <content file="..\..\Help\Presentation\Style\content\feedback_content.xml" />
|
---|
| 155 | </component>
|
---|
| 156 |
|
---|
| 157 |
|
---|
| 158 | <!-- resolve reference links -->
|
---|
| 159 | <component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 160 | <targets base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" type="msdn" />
|
---|
| 161 | <targets files=".\reflection.xml" type="index" />
|
---|
| 162 | </component>
|
---|
| 163 |
|
---|
| 164 | <!-- save the result -->
|
---|
| 165 | <component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
---|
| 166 | <save base=".\Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="true" omit-xml-declaration="true" />
|
---|
| 167 | </component>
|
---|
| 168 |
|
---|
| 169 | </components>
|
---|
| 170 | </builder>
|
---|
| 171 | </dduetools>
|
---|
| 172 | </configuration>
|
---|