Skip to content

refactor: remove the source.placement option - #405

Merged
has2k1 merged 1 commit into
mainfrom
drop-source-placement
Oct 22, 2026
Merged

has2k1 merged 1 commit into
mainfrom
drop-source-placement

Conversation

@has2k1

@has2k1 has2k1 commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

This PR removes the source.placement option. The configuration guide documented it as a choice between showing the source link in the usage row (usage, the default) or beside the object's title (title). However, setting it has never had any effect. Great Docs has always placed the link in the usage row, and no version ever read the setting.

A placement key left in an existing great-docs.yml is now ignored, so sites that set it build exactly as before. The test package that existed only to exercise the option is gone too.

The option was documented as choosing between the usage row and the
title for the "source" link, but no version of Great Docs ever read it:
the link has always rendered in the usage row. Drop it from the default
configuration, the configuration guide and the config reference, along
with the test package that existed only to exercise it.

A `placement` key left in an existing configuration is ignored.
@github-actions

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 39794416426

# or always the latest build for this PR
great-docs preview --pr 405
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 25076df into main Oct 22, 2026
8 checks passed
@has2k1
has2k1 deleted the drop-source-placement branch October 22, 2026 14:40
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