Skip to content

Infra: Derive Discussions-To from Post-History - #5244

Open
vaibhavlord wants to merge 1 commit into
python:mainfrom
vaibhavlord:infra/discussions-to-fallback
Open

vaibhavlord wants to merge 1 commit into
python:mainfrom
vaibhavlord:infra/discussions-to-fallback

Conversation

@vaibhavlord

Copy link
Copy Markdown

When Discussions-To is missing, render it using the last linked entry in
Post-History. If that link points to a Discourse reply, use the topic URL.
An explicit Discussions-To takes precedence.

Added regression tests for the fallback, explicit headers, and histories
without links. The local HTML build passed, and the test suite reported
549 passed and 2 expected failures.

Closes #5158

@python-cla-bot

python-cla-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

Infra: Make Discussion-To optional in source, display from latest Post-History during build

1 participant