csharpfftfsharpintegrationinterpolationlinear-algebramathdifferentiationmatrixnumericsrandomregressionstatisticsmathnet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
133 lines
7.7 KiB
133 lines
7.7 KiB
<configuration>
|
|
<dduetools>
|
|
<builder>
|
|
<components>
|
|
|
|
<!-- Create skeleton document -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<data file="%DXROOT%\Presentation\hana\Transforms\skeleton.xml" />
|
|
<copy source="/*" target="/" />
|
|
</component>
|
|
|
|
<!-- Copy in reflection data -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<index name="reflection" value="/reflection/apis/api" key="@id" cache="10">
|
|
<data base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" />
|
|
<data files="%reflectionfile%" />
|
|
</index>
|
|
<copy name="reflection" source="*" target="/document/reference" />
|
|
</component>
|
|
|
|
<!-- Copy in container data -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<copy name="reflection" key="string(/document/reference/containers/namespace/@api)" source="*[not(local-name()='elements')]" target="/document/reference/containers/namespace" />
|
|
</component>
|
|
<component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/containers//type/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" />
|
|
</component>
|
|
</components>
|
|
</component>
|
|
|
|
<!-- Copy in parameter data -->
|
|
<component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/parameters/parameter//type/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<copy name="reflection" source="apidata" target="/document/reference/parameters/parameter//type[boolean(@api=$key) and not(apidata)]" />
|
|
</component>
|
|
</components>
|
|
</component>
|
|
|
|
<!-- Generate syntax -->
|
|
<component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" />
|
|
<then>
|
|
<component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<syntax input="/document/reference" output="/document/syntax" />
|
|
<generators>
|
|
<generator type="Microsoft.Ddue.Tools.CSharpDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
|
<generator type="Microsoft.Ddue.Tools.VisualBasicDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
|
<generator type="Microsoft.Ddue.Tools.CPlusPlusDeclarationSyntaxGenerator" assembly="%DXROOT%\ProductionTools\SyntaxComponents.dll" />
|
|
</generators>
|
|
</component>
|
|
</then>
|
|
</component>
|
|
|
|
<!-- Copy in comments -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<index name="comments" value="/doc/members/member" key="@name" cache="100">
|
|
<data files="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\*.xml" />
|
|
<data files="%CommentsDir%\*.xml" />
|
|
</index>
|
|
<copy name="comments" source="*" target="/document/comments" />
|
|
<components>
|
|
<!-- copy comments for inheritdoc -->
|
|
<component type="Microsoft.Ddue.Tools.InheritDocumentationComponent" assembly="%DXROOT%\ProductionTools\CopyComponents.dll">
|
|
<copy name="comments" use="reflection"/>
|
|
</component>
|
|
</components>
|
|
</component>
|
|
|
|
<!-- Copy in reflection data and comments for members -->
|
|
<component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/elements//element/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<if condition="not(/document/reference/elements//element[@api=$key]/apidata)" />
|
|
<then>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<copy name="reflection" source="*[not(self::elements)]" target="/document/reference/elements//element[@api=$key]" />
|
|
</component>
|
|
</then>
|
|
</component>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<copy name="comments" source="summary|overloads" target="/document/reference/elements//element[@api=$key]" />
|
|
</component>
|
|
</components>
|
|
</component>
|
|
|
|
<!-- Copy in comments for the member's declaring type. -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" />
|
|
</component>
|
|
|
|
<!-- transform -->
|
|
<component type="Microsoft.Ddue.Tools.TransformComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<transform file="%DXROOT%\Presentation\hana\Transforms\main_sandcastle.xsl">
|
|
<argument key="metadata" value="true" />
|
|
<argument key="languages">
|
|
<language label="VisualBasic" name="VisualBasic" style="vb" />
|
|
<language label="CSharp" name="CSharp" style="cs" />
|
|
<language label="ManagedCPlusPlus" name="ManagedCPlusPlus" style="cpp" />
|
|
<!--<language label="JSharp" name="JSharp" style="cs" />
|
|
<language label="JScript" name="JScript" style="cs" />
|
|
<language label="XAML" name="XAML" style="cs" /> -->
|
|
</argument>
|
|
</transform>
|
|
</component>
|
|
|
|
<!-- resolve shared content -->
|
|
<component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<content file="%DXROOT%\Presentation\hana\content\shared_content.xml" />
|
|
<content file="%DXROOT%\Presentation\hana\content\reference_content.xml" />
|
|
<content file="%DXROOT%\Presentation\shared\content\syntax_content.xml" />
|
|
</component>
|
|
|
|
<!-- resolve reference links -->
|
|
<component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<targets base="%DXROOT%\Data\Reflection" recurse="true" files="*.xml" type="msdn" />
|
|
<targets files="%reflectionfile%" type="local" />
|
|
</component>
|
|
|
|
<!-- save the result -->
|
|
<component type="Microsoft.Ddue.Tools.SaveComponent" assembly="%DXROOT%\ProductionTools\BuildComponents.dll">
|
|
<save base ="%OutputDir%" path="concat(/html/head/meta[@name='guid']/@content,'.htm')" indent="false" omit-xml-declaration="true" />
|
|
</component>
|
|
|
|
</components>
|
|
</builder>
|
|
</dduetools>
|
|
</configuration>
|
|
|