Search index refreshed
A concise example of a news item with pull request metadata. It remains short enough to render without a collapsed description.
Use this snippet:
{% include news.html %}
This renders as:
A concise example of a news item with pull request metadata. It remains short enough to render without a collapsed description.
The example dataset now includes a longer news item so the truncation button, Markdown rendering and linked pull request metadata can be reviewed together.
Highlights include:
This kind of entry is useful for release notes, project updates or change summaries that need more than one sentence.
Documentation news can include an internal link when readers need more context.
A short news item demonstrating the default compact news layout.
Use this snippet:
{% include news.html title=true truncate=true caption=true caption_url="/news" %}
This renders as:
A concise example of a news item with pull request metadata. It remains short enough to render without a collapsed description.
The example dataset now includes a longer news item so the truncation button, Markdown rendering and linked pull request metadata can be reviewed together.
Highlights include:
This kind of entry is useful for release notes, project updates or change summaries that need more than one sentence.
Documentation news can include an internal link when readers need more context.
A short news item demonstrating the default compact news layout.
title: Show What’s new? as a heading (true or false).caption: Show the “For more news please visit our news page.” caption (true or false).caption_url: Use a custom URL when the main news page is not served at /news.truncate: Collapse descriptions longer than 40 words behind a button (true or false).limit: Limit the number of news items shown.