Skip to content

Commit

Permalink
Fix site URL
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Sep 8, 2024
1 parent 9babd67 commit 072a5a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/development/frontend/making-view.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Making View

This document will guide you through the process of creating a new view in
[OJ Lab front](https://github.com/oj-lab/oj-lab-front)
[OJ Lab front](https://github.com/oj-lab/frontend)
.

You will get to know with three main directories:
Expand Down
12 changes: 6 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const config = {
favicon: "img/oj-lab-icon.ico",

// Set the production url of your site here
url: "https://your-docusaurus-test-site.com",
url: "https://oj-lab.github.io",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/oj-lab-docusaurus/",
baseUrl: "/docusaurus/",

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down Expand Up @@ -51,11 +51,11 @@ const config = {
({
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/OJ-lab/oj-lab-docusaurus/tree/main",
editUrl: "https://github.com/OJ-lab/docusaurus/tree/main",
},
blog: {
showReadingTime: true,
editUrl: "https://github.com/OJ-lab/oj-lab-docusaurus/tree/main",
editUrl: "https://github.com/OJ-lab/docusaurus/tree/main",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
Expand Down Expand Up @@ -94,7 +94,7 @@ const config = {
label: "Docusaurus",
},
{
href: "https://github.com/OJ-lab/oj-lab-docusaurus",
href: "https://github.com/OJ-lab/docusaurus",
label: "GitHub",
position: "right",
},
Expand Down Expand Up @@ -138,7 +138,7 @@ const config = {
},
{
label: "GitHub",
href: "https://github.com/OJ-lab/oj-lab-docusaurus",
href: "https://github.com/OJ-lab/docusaurus",
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-CN/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"link.item.label.GitHub": {
"message": "GitHub",
"description": "The label of footer link with label=GitHub linking to https://github.com/OJ-lab/oj-lab-docusaurus"
"description": "The label of footer link with label=GitHub linking to https://github.com/OJ-lab/docusaurus"
},
"copyright": {
"message": "Copyright © 2023 OJ Lab, Inc. Built with Docusaurus.",
Expand Down

0 comments on commit 072a5a2

Please sign in to comment.