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.
pip install haystack-pydoc-toolsNo compatibility data collected yet for this library.
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.
Pin `setuptools` to a version less than 82.0.0 in your environment (e.g., `pip install 'setuptools<82.0.0'`). The Haystack project is planning to migrate to `griffe` to resolve this.
Monitor the `deepset-ai/haystack-pydoc-tools` GitHub repository for updates and migration guides to `griffe`. Be prepared for potential changes in `mkdocs.yml` configurations or documentation directives once the migration is complete.
To resolve the immediate issue and allow installation, pin your `setuptools` version to an older release: `pip install 'setuptools<82.0.0'`.
Downgrade your `setuptools` package: `pip install 'setuptools<82.0.0'`. This will restore the `pkg_resources` module needed by the `pydoc-markdown` dependency.