Skip to content

Explain how to write a NEWS entry on the add_blurb form - #475

Merged
Mariatta merged 1 commit into
python:mainfrom
Mariatta:news-entry-tips
Oct 22, 2026
Merged

Mariatta merged 1 commit into
python:mainfrom
Mariatta:news-entry-tips

Conversation

@Mariatta

@Mariatta Mariatta commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

The NEWS entry textarea only carried a three-line placeholder that disappears as soon as you start typing, and it said little about what makes a good entry.

This adds a guide above the field that follows the devguide's How to write a NEWS entry section: one or two sentences, start with an imperative verb, name what changed with inline markup such as :func:, say what users will notice, and leave out implementation details and phrases like "this PR". It uses the devguide's own preferred example and links to the section for the full guidance.

The guide is a Bootstrap accordion in the theme's info colours so it stands out from the form. It opens for first-time visitors; once collapsed, the browser remembers the choice in local storage and keeps it collapsed on later visits. Without JavaScript it is simply open.

The textarea gets a short help line, and the "blurb on the command line" link now points at the devguide section that covers blurb add and opens in a new tab so a half-written entry is not lost.

Screenshot

The guide accordion above the NEWS entry field

Demo

Collapsing the guide, reloading, and expanding it again

@Mariatta
Mariatta force-pushed the news-entry-tips branch 5 times, most recently from 99defcf to 5defe26 Compare October 22, 2026 00:37
Replace the three-line textarea placeholder with a guide above the
field that follows the devguide's current advice: one or two
sentences, start with an imperative verb, name what changed with
inline markup, say what users will notice, and leave out
implementation details and references to the pull request.

The guide is an accordion in the theme's info colours so it stands
out. It opens for first-time visitors; once collapsed, the browser
remembers the choice. Link to the devguide's "How to write a NEWS
entry" section, and point the command line link at the section that
covers blurb add.
@Mariatta
Mariatta merged commit 42d978c into python:main Oct 22, 2026
7 checks passed
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