diff --git a/docusaurus.config.js b/docusaurus.config.js
index 21c887d7..3d0e0892 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -11,7 +11,7 @@ const config = {
favicon: "img/logo.png",
url: "https://yazi-rs.github.io",
- baseUrl: "/docs/",
+ baseUrl: "/",
organizationName: "yazi-rs",
projectName: "docs",
@@ -35,13 +35,13 @@ const config = {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
- editUrl: "https://github.com/yazi-rs/docs/tree/main/",
+ editUrl: "https://github.com/yazi-rs/tree/main/",
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
- editUrl: "https://github.com/yazi-rs/docs/tree/main/",
+ editUrl: "https://github.com/yazi-rs/tree/main/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
@@ -85,11 +85,11 @@ const config = {
items: [
{
label: "Usage",
- to: "/docs/usage/installation",
+ to: "/usage/installation",
},
{
label: "Showcase",
- to: "/docs/showcase",
+ to: "/showcase",
},
],
},
diff --git a/src/pages/index.js b/src/pages/index.js
index 82e55d5a..a7632b11 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -15,7 +15,7 @@ function HomepageHeader() {
{siteConfig.title}
{siteConfig.tagline}
-
+
Try It Out 🚀
diff --git a/src/pages/showcase/index.tsx b/src/pages/showcase/index.tsx
index 74c3ac8c..1ac81c31 100644
--- a/src/pages/showcase/index.tsx
+++ b/src/pages/showcase/index.tsx
@@ -10,37 +10,37 @@ import styles from './styles.module.css';
const features = [
{
title: "Scrollable Preview",
- video: "/docs/videos/scrollable-preview.mp4",
+ video: "/videos/scrollable-preview.mp4",
description: "Preview various types of files, and scroll while previewing.",
},
{
title: "Visual Mode & Batch Rename",
- video: "/docs/videos/visual-mode_batch-rename.mp4",
+ video: "/videos/visual-mode_batch-rename.mp4",
description: "Batch select files in visual mode, and rename them.",
},
{
title: "Vim-like Input & Select Component",
- video: "/docs/videos/input_select.mp4",
+ video: "/videos/input_select.mp4",
description: "Quickly edit filename in the Input, and choose how to open it in the Select.",
},
{
title: "Multi-Tab & fzf, zoxide",
- video: "/docs/videos/multi-tab_zoxide.mp4",
+ video: "/videos/multi-tab_zoxide.mp4",
description: "Collaborate across multiple tabs, and use fzf, zoxide for quick jumps.",
},
{
title: "Multi-Select & Task Management",
- video: "/docs/videos/multi-select_task-management.mp4",
+ video: "/videos/multi-select_task-management.mp4",
description: "Select multiple files individually, perform copy, cut, etc. Which are scheduled by the task system, providing real-time progress reports and task cancellation.",
},
{
title: "Incremental Find",
- video: "/docs/videos/incremental-find.mp4",
+ video: "/videos/incremental-find.mp4",
description: "Find files incrementally in real-time, with the current position and number of all matches displayed.",
},
{
title: "Search",
- video: "/docs/videos/search.mp4",
+ video: "/videos/search.mp4",
description: "Search by name using fd, by content using rg, and perform arbitrary operations on the results.",
},
]
@@ -50,7 +50,7 @@ function ShowcaseHeader() {
Yazi Showcase
List of features and plugins people are building with Yazi