loaders:
  - type: haystack_pydoc_tools.loaders.CustomPythonLoader
    search_path: [../haystack/components/routers]
    modules:
      [
        "conditional_router",
        "document_length_router",
        "document_type_router",
        "file_type_router",
        "llm_messages_router",
        "metadata_router",
        "text_language_router",
        "transformers_text_router",
        "zero_shot_text_router",
      ]
    ignore_when_discovered: ["__init__"]
processors:
  - type: filter
    expression:
    documented_only: true
    do_not_filter_modules: false
    skip_empty_modules: true
  - type: smart
  - type: crossref
renderer:
  type: haystack_pydoc_tools.renderers.DocusaurusRenderer
  description: Routers is a group of components that route queries or Documents to other components that can handle them best.
  title: Routers
  id: routers-api
  markdown:
    descriptive_class_title: false
    classdef_code_block: false
    descriptive_module_title: true
    add_method_class_prefix: true
    add_member_class_prefix: false
    filename: routers_api.md
