Skip to content

fix: discover functions that shadow their submodules - #849

Merged
has2k1 merged 1 commit into
fix/reference-entry-optionsfrom
fix/shadowed-module-exports
Dec 4, 2026
Merged

has2k1 merged 1 commit into
fix/reference-entry-optionsfrom
fix/shadowed-module-exports

Conversation

@has2k1

@has2k1 has2k1 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Great Docs now discovers a function re-exported under its submodule’s name. Vetiver can list write_docker as a function and keep the qualified write_docker.write_docker reference URL.

This also fixes the failure during great-docs init seen in Formulae and pytimetk when their public API included a similarly named export.

Before at Vetiver’s write_docker URL:

The exported callable’s URL returns a 404

After at the same URL:

The Vetiver reference page for write_docker

@has2k1
has2k1 added this pull request to stack #858 December 4, 2026 11:40
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

📚 Preview this PR's docs locally

Fetch the just-built site and open it in your browser:

# this exact build
great-docs preview --run 47326991254

# or always the latest build for this PR
great-docs preview --pr 849
Auth & tips
  • Requires great-docs: pip install great-docs (or run via pipx/uvx).
  • Auth: run gh auth login then add --use-gh, or set GITHUB_TOKEN (needs Actions: read).
  • Jump to a page: add --path reference/index.html.
  • Latest vs exact: --pr <n> grabs the newest build; --run <id> pins this one.
  • Re-download: --refresh ignores the local cache.

@has2k1
has2k1 merged commit e98d84b into main Dec 4, 2026
6 checks passed
@has2k1
has2k1 deleted the fix/shadowed-module-exports branch December 4, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant