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.
250 lines
13 KiB
250 lines
13 KiB
<configuration>
|
|
<dduetools>
|
|
<builder>
|
|
<components>
|
|
|
|
<!-- Create skeleton document -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromFileComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<data file="{@PresentationPath}Transforms\skeleton.xml" />
|
|
<copy source="/*" target="/" />
|
|
</component>
|
|
|
|
<!-- Copy in reflection data -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<index name="reflection" value="/reflection/apis/api" key="@id" cache="10">
|
|
<data base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" />
|
|
<data files="reflection.xml" />
|
|
</index>
|
|
<copy name="reflection" source="*" target="/document/reference" />
|
|
</component>
|
|
|
|
<!-- Copy in container data -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}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="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/containers//type/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<copy name="reflection" source="apidata|typedata|templates|attributes" target="/document/reference/containers//type[@api=$key]" />
|
|
</component>
|
|
</components>
|
|
</component>
|
|
|
|
<!-- Copy in explicitInterfaceImplemented reflection data -->
|
|
<component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/implements/member/@api | /document/reference/implements//type/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<copy name="reflection" source="apidata" target="/document/reference/implements//*[@api=$key and not(apidata)]" />
|
|
<copy name="reflection" source="templates" target="/document/reference/implements//*[@api=$key and not(apidata) and not(specialization)]" />
|
|
</component>
|
|
</components>
|
|
</component>
|
|
|
|
<!-- Copy in parameter data -->
|
|
<component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/parameters/parameter//type/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}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="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<if condition="not(starts-with($key,'Overload:') or starts-with($key,'R:'))" />
|
|
<then>
|
|
<component type="Microsoft.Ddue.Tools.SyntaxComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<syntax input="/document/reference" output="/document/syntax" />
|
|
<generators>
|
|
{@SyntaxFilters}
|
|
</generators>
|
|
</component>
|
|
</then>
|
|
</component>
|
|
|
|
<!-- Copy in comments -->
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<index name="comments" value="/doc/members/member" key="@name" cache="100">
|
|
{@FrameworkCommentList}
|
|
{@CommentFileList}
|
|
</index>
|
|
<copy name="comments" source="*" target="/document/comments" />
|
|
</component>
|
|
|
|
<!-- Copy in reflection data and comments for members -->
|
|
<component type="Microsoft.Ddue.Tools.ForEachComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<variable expression="/document/reference/elements//element/@api" />
|
|
<components>
|
|
<component type="Microsoft.Ddue.Tools.IfThenComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<if condition="not(/document/reference/elements/element[@api=$key]/apidata)" />
|
|
<then>
|
|
<component type="Microsoft.Ddue.Tools.CopyFromIndexComponent" assembly="{@SandcastlePath}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="{@SandcastlePath}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="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<copy name="comments" key="string(/document/reference/containers/type/@api)" source="summary" target="/document/reference/containers" />
|
|
</component>
|
|
|
|
<!-- Show missing documentation component configuration. This must
|
|
appear before the TransformComponent. -->
|
|
<component type="SandcastleBuilder.Components.ShowMissingComponent"
|
|
assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
|
|
id="Show Missing Documentation Component">
|
|
<!-- All elements are optional. -->
|
|
<!-- Auto-document constructors (true by default) -->
|
|
<AutoDocumentConstructors value="{@AutoDocumentConstructors}" />
|
|
|
|
<!-- Show missing param tags (true by default) -->
|
|
<ShowMissingParams value="{@ShowMissingParams}" />
|
|
|
|
<!-- Show missing typeparam tags (true by default) -->
|
|
<ShowMissingTypeParams value="{@ShowMissingTypeParams}" />
|
|
|
|
<!-- Show missing remarks tags (false by default) -->
|
|
<ShowMissingRemarks value="{@ShowMissingRemarks}" />
|
|
|
|
<!-- Show missing returns tags (true by default) -->
|
|
<ShowMissingReturns value="{@ShowMissingReturns}" />
|
|
|
|
<!-- Show missing summary tags (true by default) -->
|
|
<ShowMissingSummaries value="{@ShowMissingSummaries}" />
|
|
|
|
<!-- Show missing value tags (false by default) -->
|
|
<ShowMissingValues value="{@ShowMissingValues}" />
|
|
|
|
<!-- Show missing namespace comments (true by default) -->
|
|
<ShowMissingNamespaces value="{@ShowMissingNamespaces}" />
|
|
|
|
<!-- Show missing include targets (true by default) -->
|
|
<ShowMissingIncludeTargets value="{@ShowMissingIncludeTargets}" />
|
|
|
|
<!-- Shared content file containing the localized messages
|
|
(optional) -->
|
|
<contentFile filename="SharedBuilderContent.xml" />
|
|
</component>
|
|
|
|
<!-- Version information component configuration. This must appear
|
|
before the TransformComponent. See also: PostTransformComponent -->
|
|
<component type="SandcastleBuilder.Components.VersionInfoComponent"
|
|
assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
|
|
id="Version Information Component">
|
|
<!-- Reflection information file for version info (required) -->
|
|
<reflectionFile filename="reflection.xml" />
|
|
</component>
|
|
|
|
<!-- Code block component configuration. This must appear before the
|
|
TransformComponent. See also: PostTransformComponent. -->
|
|
<component type="SandcastleBuilder.Components.CodeBlockComponent"
|
|
assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
|
|
id="Code Block Component">
|
|
<!-- Base path for relative filenames in source attributes (optional) -->
|
|
<basePath value="{@HtmlEncProjectFolder}" />
|
|
|
|
<!-- Connect to language filter (optional). If omitted,
|
|
language filtering is enabled by default. -->
|
|
<languageFilter value="true" />
|
|
|
|
<!-- Allow missing source files (Optional). If omitted,
|
|
it will generate errors if referenced source files
|
|
are missing. -->
|
|
<allowMissingSource value="false" />
|
|
|
|
<!-- Remove region markers from imported code blocks. If omitted,
|
|
region markers in imported code blocks are left alone. -->
|
|
<removeRegionMarkers value="false" />
|
|
|
|
<!-- Code colorizer options (required).
|
|
Attributes:
|
|
Language syntax configuration file (required)
|
|
XSLT style file (required)
|
|
"Copy" image file URL (required)
|
|
Default language (optional)
|
|
Enable line numbering (optional)
|
|
Enable outlining (optional)
|
|
Keep XML comment "see" tags within the code (optional)
|
|
Tab size override (optional, 0 = Use syntax file setting)
|
|
Use language name as default title (optional) -->
|
|
<colorizer syntaxFile="{@SHFBFolder}Colorizer\highlight.xml"
|
|
styleFile="{@SHFBFolder}Colorizer\highlight.xsl"
|
|
copyImageUrl="../icons/CopyCode.gif"
|
|
language="cs" numberLines="false" outlining="false"
|
|
keepSeeTags="false" tabSize="0" defaultTitle="true" />
|
|
</component>
|
|
|
|
<!-- transform -->
|
|
<component type="Microsoft.Ddue.Tools.TransformComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<transform file="{@PresentationPath}Transforms\main_sandcastle.xsl">
|
|
<argument key="metadata" value="true" />
|
|
<argument key="languages">
|
|
{@SyntaxFiltersDropDown}
|
|
</argument>
|
|
</transform>
|
|
</component>
|
|
|
|
<!-- Post-transform component configuration. This must appear after the
|
|
TransformComponent. See also: CodeBlockComponent. -->
|
|
<component type="SandcastleBuilder.Components.PostTransformComponent"
|
|
assembly="{@SHFBFolder}SandcastleBuilder.Components.dll"
|
|
id="Post-transform Component">
|
|
<!-- Code colorizer files (required).
|
|
Attributes:
|
|
Stylesheet file (required)
|
|
Script file (required)
|
|
"Copy" image file (required) -->
|
|
<colorizer stylesheet="{@SHFBFolder}Colorizer\highlight.css"
|
|
scriptFile="{@SHFBFolder}Colorizer\highlight.js"
|
|
copyImage="{@SHFBFolder}Colorizer\CopyCode.gif" />
|
|
|
|
<!-- Base output path for the files (required). This should match
|
|
the parent folder of the output path of the HTML files (see
|
|
SaveComponent below). -->
|
|
<outputPath value="Output\" />
|
|
|
|
<!-- Logo image file (optional). Filename is required. The height,
|
|
width, altText, placement, and alignment attributes are
|
|
optional. -->
|
|
<logoFile filename="" height="0" width="0" altText=""
|
|
placement="left" alignment="left" />
|
|
</component>
|
|
|
|
<!-- resolve shared content -->
|
|
<component type="Microsoft.Ddue.Tools.SharedContentComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<content file="{@PresentationPath}content\{@LanguageFolder}shared_content.xml" />
|
|
<content file="{@PresentationPath}content\{@LanguageFolder}reference_content.xml" />
|
|
<content file="{@SandcastlePath}Presentation\shared\content\{@LanguageFolder}syntax_content.xml" />
|
|
<content file="{@PresentationPath}content\{@LanguageFolder}feedback_content.xml" />
|
|
<!-- These must be last in order to override other elements! -->
|
|
<content file="SharedBuilderContent.xml" />
|
|
<content file="PresentationStyleBuilderContent.xml" />
|
|
</component>
|
|
|
|
<!-- resolve reference links -->
|
|
<component type="Microsoft.Ddue.Tools.ResolveReferenceLinksComponent2"
|
|
assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll"
|
|
locale="{@Locale}" linkTarget="{@SdkLinkTarget}">
|
|
<targets base="{@SandcastlePath}Data\Reflection" recurse="true" files="*.xml" type="{@SDKLinks}" />
|
|
<targets files="reflection.xml" type="{@ProjectLinks}" />
|
|
</component>
|
|
|
|
<!-- save the result -->
|
|
<component type="Microsoft.Ddue.Tools.SaveComponent" assembly="{@SandcastlePath}ProductionTools\BuildComponents.dll">
|
|
<save base="Output\html" path="concat(/html/head/meta[@name='file']/@content,'.htm')" indent="{@IndentHtml}" omit-xml-declaration="true" />
|
|
</component>
|
|
|
|
</components>
|
|
</builder>
|
|
</dduetools>
|
|
</configuration>
|
|
|