summaryrefslogtreecommitdiffstats
path: root/tools/Sandcastle/Presentation/Prototype/DocModel.ps1
blob: 2a95d659729172c0f265d82d6117662930f4dcd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

# Sandcastle build script overrides for prototype doc model.

. $DxRoot\Presentation\Shared\SharedDocModel.ps1

function PostProcessReflectionData($sourceFile, $targetFile) {
	WriteInfo "Post processing reflection data."
    &$XslTransform $sourceFile `
        /xsl:$DxRoot\ProductionTransforms\ApplyPrototypeDocModel.xsl `
        /xsl:$DxRoot\ProductionTransforms\AddGuidFilenames.xsl `
        /out:$targetFile
}

function CreateToc {
    WriteInfo "Creating TOC."
    &$XslTransform $TempDir\ReflectionData\targets.xml `
        /xsl:$DxRoot\ProductionTransforms\createPrototypeToc.xsl `
        /out:$TempDir\toc.xml
}