@hrefcl/apidoc - v4.0.5
    Preparing search index...

    Exports

    • Parse

      Parameters

      • content: string

        Raw content from the

      Returns { name: string }

      Object containing the referenced block name, or null if content is empty

      tag to extract reference to predefined block

      Processes

      tags by extracting the name of a predefined documentation block that should be included in the current API endpoint documentation. This enables DRY (Don't Repeat Yourself) principles in API documentation.

      tag containing the block name

      // Input: "UserObject"
      // Output: { name: "UserObject" }
      // Input: "CommonErrors"
      // Output: { name: "CommonErrors" }
      // Input: "   "
      // Output: null

      4.0.0