* Add version.txt * Add doc generation for template * Add version.hpp parsing and update capabilities to cmake and engsys * Get-SdkVersion -> Get-PkgVersion * Move Update-PkgVersion.ps1 under eng/scripts * Get-PackageVersion -> Get-PkgVersion * Update paths, params, verbosity * Couple fixes to output and make use of new SemVer version * Add fallback support for verison.txt in cases where we still use it to unblock release artifact generation * Use version information in release pipeline * Add workaround to generate storage pipeline artifacts * eng/scripts/ * Write warning * Haven't released storage-file-shares yet according to releases on GitHub * Set release date on changelog.md * Update CHANGELOG.md to indicate this is a test release * Add docs.microsoft.com artifact generation * Add arguments * newline * d->s * publish docs.ms artifact * Consolidate archetype-sdk-client.yml docs.ms generation steps * publish not the docs.ms for we publish it as part of packages * Better folder structure
17 lines
551 B
PowerShell
17 lines
551 B
PowerShell
[CmdletBinding()]
|
|
Param (
|
|
[ValidateNotNullOrEmpty()]
|
|
[string] $RepoRoot = "${PSScriptRoot}/../..",
|
|
[Parameter(Mandatory=$True)]
|
|
[string] $ServiceDirectory,
|
|
[Parameter(Mandatory=$True)]
|
|
[string] $PackageName,
|
|
[string] $TargetFolder = "$RepoRoot/build/sdk/$ServiceDirectory/$PackageName/docs/docs.ms"
|
|
)
|
|
|
|
npm install -g moxygen
|
|
|
|
$docsPath = "$RepoRoot/build/sdk/$ServiceDirectory/$PackageName/docs"
|
|
New-Item -ItemType directory -Path $TargetFolder -Force
|
|
moxygen --anchors --output "$TargetFolder/api-docs.md" "$docsPath/xml"
|