Skip to content

Commit 6aa171f

Browse files
authored
Data plane packages should document inherited members (Azure#33666)
1 parent cbba1da commit 6aa171f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

eng/scripts/docs/Docs-Onboarding.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ function Set-python-DocsPackageOnboarding($moniker, $metadata, $docRepoLocation,
1818
exclude_path = @("test*","example*","sample*","doc*")
1919
}
2020

21+
# Data-plane packages (not mgmt packages, and not manually added '00`
22+
# packages) should document inherited members
23+
if ($package.Name -notlike 'azure-mgmt-*' -and $package.Name -notlike '*-00-*') {
24+
$packageSpec['extension_config'] = @{ 'autodoc_default_options' = @{ 'inherited-members' = 1 } }
25+
}
26+
2127
if ($packageSourceOverride) {
2228
$packageSpec['package_info']['extra_index_url'] = $packageSourceOverride
2329
}

0 commit comments

Comments
 (0)