Kind: Class
Source: atloria-monorepo/libs/parser-core/src/generators/versioning/version-selector.generator.ts
Methods
| Method | Signature | Returns |
|---|---|---|
generate | generate(config: VersionConfig, options: VersionSelectorOptions) | string |
generateBanner | generateBanner(config: VersionConfig, options: VersionSelectorOptions) | string |
generateDropdown | generateDropdown(config: VersionConfig, options: Required<Pick<VersionSelectorOptions, 'showLabels'>> & VersionSelectorOptions) | string |
generateFrontmatter | generateFrontmatter(config: VersionConfig) | Record<string, unknown> |
generateEntityVersionSwitcher | generateEntityVersionSwitcher(config: VersionConfig, entityPath: string, _options: VersionSelectorOptions) | string |
Where it refuses work
VersionSelectorGeneratorstops the work with an early return when!current.VersionSelectorGeneratorstops the work with an early return whenisLatest && !current.isDeprecated && !VersionUtils.isEOL(current).VersionSelectorGeneratorstops the work with an early return when!status.
Was this page helpful?