Skip to content

Commit

Permalink
Fix: 修改配置
Browse files Browse the repository at this point in the history
  • Loading branch information
mofan committed Jun 23, 2024
1 parent 1b4bb90 commit 0a38754
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
16 changes: 8 additions & 8 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import { themes as prismThemes } from "prism-react-renderer";
import type { Config } from "@docusaurus/types";
import type * as Preset from "@docusaurus/preset-classic";

const username: string = "agoodbook";
const repo: string = "agoodbook.github.io";
const username: string = "nonfan";
const repo: string = "nonfan.github.io";

let config: Config = {
title: "AGoodBook",
title: "CodePilot",
tagline: "书山有路勤为径,学海无涯苦作舟",
favicon: "img/favicon.ico",
trailingSlash: true,

url: `https://agoodbook.github.io/`,
baseUrl: "/",
url: `https://nonfan.github.io/`,
baseUrl: "/codepilot",

organizationName: username,
projectName: repo,
Expand Down Expand Up @@ -70,10 +70,10 @@ let config: Config = {
},
image: "img/docusaurus-social-card.jpg",
navbar: {
title: "AGoodBook",
title: "CodePilot",
logo: {
alt: "AGoodBook",
src: "img/logo.svg",
alt: "CodePilot",
src: "../img/logo.svg",
},
items: [
{
Expand Down
5 changes: 1 addition & 4 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ const sidebars: SidebarsConfig = {
link: {
type: "generated-index", // 生成菜单列表
},
items: [
{ id: "plugin-library/nprogress", label: "进度条", type: "doc" },
"plugin-library/rich-text-editor",
],
items: ["plugin-library/rich-text-editor"],
},
],
};
Expand Down

0 comments on commit 0a38754

Please sign in to comment.