Skip to content

feat: scope reference entries to packages and classes - #850

Merged
has2k1 merged 1 commit into
fix/shadowed-module-exportsfrom
fix/reference-package-scopes
Dec 4, 2026
Merged

has2k1 merged 1 commit into
fix/shadowed-module-exportsfrom
fix/reference-package-scopes

Conversation

@has2k1

@has2k1 has2k1 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Set package for a reference, a section or an entry to resolve names in another package, module or class. Pages keep the names written in the configuration. Pins can publish pin_read.html for its board method, and Kimmdy can document plugins from another installed distribution.

Entries inherit their section’s scope. By default, the reference uses the project’s documented package. Set package: null where entries use fully qualified names.

reference:
  package: pins.boards.BaseBoard
  sections:
    - title: Board methods
      contents: [pin_read]

Before at the original Pins URL:

The migrated site returns a 404 for reference/pin_read.html

After at the same URL:

The scoped reference page for pin_read

@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 47327021718

# or always the latest build for this PR
great-docs preview --pr 850
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/reference-package-scopes 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