Skip to content

feat: support interlinks aliases for subpackages - #855

Merged
has2k1 merged 1 commit into
mainfrom
fix/interlinks-subpackage-aliases
Dec 4, 2026
Merged

has2k1 merged 1 commit into
mainfrom
fix/interlinks-subpackage-aliases

Conversation

@has2k1

@has2k1 has2k1 commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Map a short import alias to a full module path in interlinks.aliases. Starsim can link ssl.Measles to its reference under starsim.library from code spans and explicit references. The list and string forms still name the project’s own package.

interlinks:
  aliases:              # Default: []
    ssl: starsim.library

Before in the Starsim replay:

Starsim subpackage references rendered as unlinked code

After in the Starsim replay:

Starsim subpackage references linked to their reference pages

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

# or always the latest build for this PR
great-docs preview --pr 855
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 d935495 into main Dec 4, 2026
7 checks passed
@has2k1
has2k1 deleted the fix/interlinks-subpackage-aliases branch December 4, 2026 12:01
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