Skip to content

Commit

Permalink
docs: fix 3.2 blog post headings (#10002)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Mar 29, 2024
1 parent debfc87 commit 7edfe0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/blog/releases/3.2/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ An incremental build happens when you run another time the `docusaurus build` co

</details>

## Faster Dev Server
### Faster Dev Server

We also worked on improving the performance of the dev server, so that you can get a faster feedback when editing Markdown/MDX files.

The way we initially implemented content reloading wasn't great. For example, editing a blog post file would also trigger a useless reload of the unrelated docs plugin. From now on, when editing a plugin's content, only that plugin will reload. It's hard to measure precisely the impact of this change, but I estimate edits should appear in your browser at least 50% faster 🔥.

We plan to keep improving the speed of our dev server, with even more granular hot reloads, ensuring we don't run useless computations that would always keep giving the same result.

## MDX partials table-of-contents
### MDX partials table-of-contents

With [#9684](https://github.com/facebook/docusaurus/pull/9684), Docusaurus is now able to render headings coming from an imported partial into the table-of-contents.

Expand All @@ -78,15 +78,15 @@ Some paragraph

Previously, the heading `Partial heading` did not appear in the table-of-contents, but now it will!

## Blog improvements
### Blog improvements

We improved the blog plugin with several new options to make it even more powerful and flexible:

- [#9912](https://github.com/facebook/docusaurus/pull/9912): you can now display the last update time and author of a blog post, a feature the docs plugin already had.
- [#9886](https://github.com/facebook/docusaurus/pull/9886): a new `processBlogPosts` option allow you to filter/transform/sort blog posts.
- [#9838](https://github.com/facebook/docusaurus/pull/9838): a new `pageBasePath` option allows you to customize the blog pagination URL segment (`/blog/page/2`)

## Sitemap lastmod
### Sitemap lastmod

With [#9954](https://github.com/facebook/docusaurus/pull/9954), the sitemap plugin has a new `lastmod` option that can now emit a `<lastmod>` tag on the XML. The value is read from the Git history by default, but can be overridden with docs and blog `last_update` front matter.

Expand Down

0 comments on commit 7edfe0e

Please sign in to comment.