Haystack Pydoc Tools

0.7.0 · active · verified Thu Apr 16

Haystack-pydoc-tools is a utility library providing custom tools for generating API documentation for the Haystack project, primarily used within its documentation build process. It assists in creating Python API documentation in Markdown format, historically leveraging `pydoc-markdown`. The library is currently at version 0.7.0 and follows a manual, irregular release cadence tied to the Haystack project's documentation needs.

Common errors

Warnings

Install

Quickstart

Haystack-pydoc-tools is a documentation utility. Its typical 'quickstart' involves integrating it within an MkDocs project using `mkdocstrings` to generate API documentation from Python code, rather than direct programmatic interaction via Python imports. The example demonstrates a conceptual `mkdocs.yml` configuration and a Markdown directive, reflecting how the underlying documentation generation process works.

# This library is primarily used internally by the Haystack project for documentation generation.
# Its usage is typically through configuration in an mkdocs.yml file and Markdown directives,
# rather than direct Python imports for application development.

# Example of a generic mkdocs.yml setup using mkdocstrings (which haystack-pydoc-tools integrates with):
# mkdocs.yml
# site_name: My Project Docs
# theme: material
# plugins:
#   - search
#   - mkdocstrings: 
#       handlers:
#         python:
#           paths:
#             - src
#
# Example of a Markdown file (e.g., docs/api.md) using mkdocstrings directive:
# # My API Documentation
#
# ::: my_module.MyClass

print("Haystack-pydoc-tools facilitates documentation builds. Its direct Python API for end-users is not a primary interaction point.")

view raw JSON →