-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #456 from fuma-nama/dev
Sync
- Loading branch information
Showing
19 changed files
with
85 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: Fumadocs 12.0.5 | ||
description: After the release of Fumadocs 12 | ||
date: 2024-06-13 | ||
author: Fuma Nama | ||
--- | ||
|
||
## Some Improvements | ||
|
||
After releasing Fumadocs 12, some improvements are made to the new UI. | ||
|
||
### TOC Popover | ||
|
||
Previously, this was only available on larger devices. Now, it's collapsed to a popover on smaller devices. | ||
|
||
<div className='mx-auto max-w-[400px]'> | ||
|
||
![Preview](./toc-popover.png) | ||
|
||
</div> | ||
|
||
### Links Menu | ||
|
||
To make the sidebar looks even better, we moved navigation links to the links menu (the three-dots button at the top corner). | ||
|
||
The recommended design is: | ||
|
||
- Docs related links: Use `<RootToggle />` or include it in page trees. | ||
- Other links: Use the Links API of docs layout. | ||
|
||
<div className='mx-auto max-w-[400px]'> | ||
|
||
![Preview](./links-menu.png) | ||
|
||
</div> | ||
|
||
### Breadcrumbs | ||
|
||
Removed the duplicated page name from breadcrumbs, now it only shows the folder names. | ||
Also, you can enable `includeSeparators` to show separators on your breadcrumbs component. | ||
|
||
The new breadcrumbs look cleaner and match the design even better. | ||
|
||
## Adaption | ||
|
||
Some docs sites such as https://yeecord.com and https://turbo.build adapted the new UI, I'm very excited about it. | ||
Removing the navbar seemed to be a very risky move to me, almost no documentation framework had made it, and I was expecting some complaints about the new design. | ||
|
||
Luckily, most people are satisfied about the new UI. | ||
The new design was originally inspired by Arc, their sidebar looked very impressive to me. | ||
Although I soon discovered the docs site of Linear also doesn't have a navbar, Arc is still the first inspiration of the redesign. | ||
|
||
I'm grateful that many people gave me their feedback about the new design, so that I can keep making Fumadocs a better framework to use. | ||
Let's make a better docs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# create-next-docs-app | ||
|
||
## 12.0.4 | ||
|
||
## 12.0.3 | ||
|
||
## 12.0.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"fumadocs-core":"12.0.0","fumadocs-ui":"12.0.0","fumadocs-mdx":"8.2.28","fumadocs-contentlayer":"1.1.30"} | ||
{"fumadocs-core":"","fumadocs-ui":"","fumadocs-mdx":"","fumadocs-contentlayer":""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
# next-docs-ui | ||
|
||
## 12.0.4 | ||
|
||
### Patch Changes | ||
|
||
- 70666d8: Hide file name on breadcrumbs | ||
- f96da27: Improve design details | ||
- 51ca944: Support including separators in breadcrumbs | ||
- Updated dependencies [72dbaf1] | ||
- Updated dependencies [51ca944] | ||
- [email protected] | ||
|
||
## 12.0.3 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters