Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: blog sidebar grouped by year #587

Merged
merged 7 commits into from
Jun 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ guide in the Docusaurus documentation.

## List of Swizzled components

### `BlogSidebar` (unsafe)

To enhance the functionality of our blog sidebar, we are implementing a patch
for Docusaurus. This patch allows us to extract the publication date of each
blog post in the sidebar prop passed to `BlogSidebar` component. Utilizing this
date, we can then group the posts by year, in both desktop and mobile.
This improves the navigational experience for users by making it easier
for them to find content from specific years.
dsanders11 marked this conversation as resolved.
Show resolved Hide resolved

erickzhao marked this conversation as resolved.
Show resolved Hide resolved
### `DocSidebarItem` (unsafe)

Electron has a lot of platform-specific APIs, and guides to go along with them.
Expand Down