Skip to content

Commit 15816cb

Browse files
committed
updated
1 parent f418bb2 commit 15816cb

File tree

4 files changed

+60
-39
lines changed

4 files changed

+60
-39
lines changed

docs/api/apiaccess/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"label": "Direct API Access",
33
"position": 2,
4-
"collapsible": true,
4+
"collapsible": false,
55
"collapsed": true,
66
"className": "red",
77
"link": {

docs/api/mcpAPI/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"label": "MCP Access",
33
"position": 3,
4-
"collapsible": true,
4+
"collapsible": false,
55
"collapsed": true,
66
"className": "red",
77
"link": {

docusaurus.config.ts

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const config: Config = {
5151
themeConfig: {
5252
docs: {
5353
sidebar: {
54-
autoCollapseCategories: false,
54+
autoCollapseCategories: true,
5555
},
5656
},
5757
image: 'img/docusaurus-social-card.jpg',
@@ -103,41 +103,7 @@ const config: Config = {
103103
footer: {
104104
style: 'dark',
105105
links: [
106-
{
107-
title: 'Docs',
108-
items: [
109-
{
110-
label: 'API',
111-
to: '/docs/index',
112-
},
113-
],
114-
},
115-
{
116-
title: 'Community',
117-
items: [
118-
{
119-
label: 'Discord',
120-
href: 'https://discordapp.com/invite/docusaurus',
121-
},
122-
{
123-
label: 'Twitter',
124-
href: 'https://twitter.com/docusaurus',
125-
},
126-
],
127-
},
128-
{
129-
title: 'More',
130-
items: [
131-
{
132-
label: 'Blog',
133-
to: '/blog',
134-
},
135-
{
136-
label: 'GitHub',
137-
href: 'https://github.com/facebook/docusaurus',
138-
},
139-
],
140-
},
106+
141107
],
142108
copyright: `Copyright © ${new Date().getFullYear()} CodeBolt.`,
143109
},

src/css/custom.css

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,62 @@
2929
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3030
}
3131

32+
/* Fix for white space issue - ensure full height layout */
33+
html, body {
34+
height: 100%;
35+
min-height: 100vh;
36+
margin: 0;
37+
padding: 0;
38+
}
39+
40+
/* Ensure the main wrapper takes full height */
41+
#__docusaurus {
42+
min-height: 100vh;
43+
display: flex;
44+
flex-direction: column;
45+
}
46+
47+
/* Make the main content area expand to fill available space */
48+
.main-wrapper,
49+
main[role="main"],
50+
.theme-doc-markdown {
51+
flex: 1;
52+
min-height: calc(100vh - var(--ifm-navbar-height, 60px));
53+
}
54+
55+
/* Ensure the container and content areas have proper background */
56+
.container,
57+
.row,
58+
.col {
59+
background-color: inherit;
60+
}
61+
62+
/* Ensure consistent background for the entire page */
63+
html {
64+
background-color: var(--ifm-background-color, #ffffff);
65+
}
66+
67+
[data-theme='dark'] html {
68+
background-color: var(--ifm-background-color, #1b1b1d);
69+
}
70+
71+
/* Prevent white space on overscroll */
72+
body {
73+
overscroll-behavior: none;
74+
background-color: var(--ifm-background-color, #ffffff);
75+
}
76+
77+
[data-theme='dark'] body {
78+
background-color: var(--ifm-background-color, #1b1b1d);
79+
}
80+
81+
/* Ensure the page wrapper extends full height */
82+
.theme-doc-wrapper,
83+
.docs-wrapper {
84+
min-height: 100vh;
85+
background-color: inherit;
86+
}
87+
3288
[data-theme="dark"] .navbar {
3389
background-color: rgba(34, 31, 29, 0.9);
3490
}
@@ -61,5 +117,4 @@
61117
}
62118
[data-theme='dark'] .footer {
63119
background-color: rgba(34, 31, 29, 0.9);
64-
65120
}

0 commit comments

Comments
 (0)