Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/topic-metadata"

Index

Functions

categorizeTopic

  • categorizeTopic(metadata: TopicMetadata): TopicType.Conceptual | TopicType.Namespace | TopicType.Type | TopicType.Property | TopicType.Method | TopicType.PowerShellCmdlet
  • Determine the type of topic represented by the specified topic metadata.

    Parameters

    Returns TopicType.Conceptual | TopicType.Namespace | TopicType.Type | TopicType.Property | TopicType.Method | TopicType.PowerShellCmdlet

getFileTopics

  • Get metadata for the topic(s) defined in the specified content file.

    Parameters

    • contentFile: string

      The full path of the content file.

    Returns Promise<TopicMetadata[]>

    A Promise that resolves to the topic metadata.

parseManagedReferenceYaml

  • parseManagedReferenceYaml(fileName: string): Promise<TopicMetadata[]>

parseMarkdownTopicMetadata

  • parseMarkdownTopicMetadata(fileName: string): Promise<TopicMetadata>
  • Parse page metadata from a Markdown file's YAML front-matter.

    Parameters

    • fileName: string

      The full path to the file.

    Returns Promise<TopicMetadata>

    A promise that resolves to the page metadata (or null if the page metadata could not be parsed).

Generated using TypeDoc