We are happy to announce Docusaurus 2.4.
The upgrade should be easy: as explained in our release process documentation, minor versions respect Semantic Versioning.
Highlights
Sidebar item description
In #8236, we made it possible to provide a new description
attribute for docs sidebar items of type link
and category
.
sidebars.js
[
{
type: 'link',
label: 'Link with description',
href: 'https://docusaurus.io',
description: 'Some link description',
},
{
type: 'category',
label: 'Category with description',
description: 'Some category description',
items: [],
},
];
These descriptions will be used in category generated index pages.