Skip to content

Commit

Permalink
fix navigating + change api path to api-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
hahuyhoang411 committed Nov 21, 2023
1 parent a5860b7 commit 081dc41
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const config = {
{
spec: "openapi/NitroAPI.yaml", // can be local file, url, or parsed json object
// spec: "openapi/OpenAIAPI.yaml",
route: "/api/",
route: "/api-reference/",
},
],
theme: {
Expand Down
2 changes: 1 addition & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const sidebars = {
],

apiSidebar: [
"api"
"api-reference"
],

// communitySidebar: [
Expand Down
3 changes: 0 additions & 3 deletions docs/src/styles/base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@layer base {
html {
@apply scroll-smooth;
}
html[data-theme="light"] {
--ifm-background-color: white;
--ifm-color-primary: #2563eb; /* New Primary Blue */
Expand Down

0 comments on commit 081dc41

Please sign in to comment.