Skip to content

docs_module_map does not detect entry_points from pyproject.toml [project.scripts] #96

Description

@wtthornton

Summary

docs_module_map returns an empty entry_points array even when pyproject.toml defines CLI entry points under [project.scripts].

Steps to reproduce

  1. Have a pyproject.toml with:
    [project.scripts]
    server-agent = "server_agent.cli:main"
  2. Run docs_module_map
  3. entry_points is []

Expected behavior

entry_points should contain [{"name": "server-agent", "module": "server_agent.cli", "function": "main"}]

Why it matters

Entry points are critical context for onboarding docs and architecture understanding. The module map is the natural place to surface them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium prioritybugSomething isn't workingdocs-mcpDocsMCP package

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions