haystack/docs/pydoc/config/translator.yml
Daria Fokina 99cb95a63a
docs: separate abstract classes into separate API references (#5501)
* separate_abstractions

* img-to-text parent slug upd

* Apply suggestions from code review

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>

---------

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
2023-08-07 12:21:25 +02:00

27 lines
752 B
YAML

loaders:
- type: loaders.CustomPythonLoader
search_path: [../../../haystack/nodes/translator]
modules: ["transformers"]
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: renderers.ReadmeRenderer
excerpt: Does what it says on the tin - it translates text from one language into another.
category_slug: haystack-classes
title: Translator API
slug: translator-api
order: 190
markdown:
descriptive_class_title: false
descriptive_module_title: true
add_method_class_prefix: true
add_member_class_prefix: false
filename: translator_api.md