Skip to content

Commit a405332

Browse files
committed
remove deprecates and resolve build
1 parent 4ec5309 commit a405332

File tree

5 files changed

+4412
-3007
lines changed

5 files changed

+4412
-3007
lines changed

docusaurus.config.js

Lines changed: 63 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -8,40 +8,40 @@ import { themes as prismThemes } from "prism-react-renderer";
88

99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
11-
title: 'MetaCall Docs',
12-
tagline: 'Documentation for MetaCall',
13-
favicon: 'img/metacall-logo.png',
11+
title: "MetaCall Docs",
12+
tagline: "Documentation for MetaCall",
13+
favicon: "img/metacall-logo.png",
1414

1515
// Set the production url of your site here
16-
url: 'https://github.com',
16+
url: "https://github.com",
1717
// Set the /<baseUrl>/ pathname under which your site is served
18-
baseUrl: '/doc/',
18+
baseUrl: "/doc/",
1919

2020
// GitHub pages deployment config.
21-
organizationName: 'metacall', // your GitHub user/org
22-
projectName: 'doc', // repo name
23-
deploymentBranch: 'gh-pages',
21+
organizationName: "metacall", // your GitHub user/org
22+
projectName: "doc", // repo name
23+
deploymentBranch: "gh-pages",
2424

25-
onBrokenLinks: 'warn',
26-
onBrokenMarkdownLinks: 'warn',
25+
onBrokenLinks: "warn",
26+
onBrokenMarkdownLinks: "warn",
2727

2828
i18n: {
29-
defaultLocale: 'en',
30-
locales: ['en'],
29+
defaultLocale: "en",
30+
locales: ["en"],
3131
},
3232

3333
presets: [
3434
[
35-
'classic',
35+
"classic",
3636
/** @type {import('@docusaurus/preset-classic').Options} */
3737
({
3838
docs: {
39-
sidebarPath: './sidebars.js',
40-
tagsBasePath: 'tags',
39+
sidebarPath: "./sidebars.js",
40+
tagsBasePath: "tags",
4141
breadcrumbs: true,
4242
},
4343
theme: {
44-
customCss: './src/css/custom.css',
44+
customCss: "./src/css/custom.css",
4545
},
4646
}),
4747
],
@@ -50,81 +50,87 @@ const config = {
5050
themeConfig:
5151
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5252
({
53-
customCss: './src/css/custom.css',
54-
image: 'img/docusaurus-social-card.jpg',
53+
customCss: "./src/css/custom.css",
54+
image: "img/docusaurus-social-card.jpg",
5555
navbar: {
56-
title: 'Metacall Docs',
56+
title: "Metacall Docs",
5757
logo: {
58-
alt: 'My Site Logo',
59-
src: 'img/metacall-logo.png',
58+
alt: "My Site Logo",
59+
src: "img/metacall-logo.png",
6060
},
6161
items: [
6262
{
63-
type: 'docSidebar',
64-
sidebarId: 'tutorialSidebar',
65-
position: 'left',
66-
label: 'Documentation',
63+
type: "docSidebar",
64+
sidebarId: "tutorialSidebar",
65+
position: "left",
66+
label: "Documentation",
6767
},
6868
// Use "to" for internal Docusaurus routes
6969
{
70-
label: 'Install',
71-
to: '/docs/category/installating-metacall-cli',
72-
position: 'left',
70+
label: "Install",
71+
to: "/docs/category/installating-metacall-cli",
72+
position: "left",
7373
},
7474
{
75-
label: 'Tutorials',
76-
to: '/docs/category/tutorials',
77-
position: 'left',
75+
label: "Tutorials",
76+
to: "/docs/category/tutorials",
77+
position: "left",
7878
},
7979
{
80-
label: 'Google Summer of Code 2025',
81-
to: '/docs/gsoc',
82-
position: 'left',
80+
href: "/starred",
81+
label: "⭐ Stars",
82+
position: "right",
8383
},
8484
{
85-
href: '/starred',
86-
label: '⭐ Stars',
87-
position: 'right',
88-
},
89-
{
90-
href: 'https://github.com/metacall',
91-
label: 'GitHub',
92-
position: 'right',
85+
href: "https://github.com/metacall",
86+
label: "GitHub",
87+
position: "right",
9388
},
9489
],
9590
},
9691

9792
footer: {
98-
style: 'dark',
93+
style: "dark",
9994
links: [
10095
{
101-
title: 'Intro',
96+
title: "Intro",
10297
items: [
103-
{ label: 'Getting Started', to: '/docs/getting-started' },
104-
{ label: 'Install', to: '/docs/category/installating-metacall-cli' },
98+
{ label: "Getting Started", to: "/docs/getting-started" },
99+
{
100+
label: "Install",
101+
to: "/docs/category/installating-metacall-cli",
102+
},
105103
],
106104
},
107105
{
108-
title: 'Use MetaCall',
106+
title: "Use MetaCall",
109107
items: [
110-
{ label: 'Tutorials', to: '/docs/category/tutorials' },
111-
{ label: 'Deployment', to: '/docs/deployment' },
108+
{ label: "Tutorials", to: "/docs/category/tutorials" },
109+
{ label: "Deployment", to: "/docs/deployment" },
112110
],
113111
},
114112
{
115-
title: 'Community',
113+
title: "Community",
116114
items: [
117-
{ label: 'Discord', href: 'https://discord.gg/upwP4mwJWa' },
118-
{ label: 'Telegram', href: 'https://t.me/joinchat/BMSVbBatp0Vi4s5l4VgUgg' },
119-
{ label: 'Matrix', href: 'https://matrix.to/#/#metacall:matrix.org' },
115+
{ label: "Discord", href: "https://discord.gg/upwP4mwJWa" },
116+
{
117+
label: "Telegram",
118+
href: "https://t.me/joinchat/BMSVbBatp0Vi4s5l4VgUgg",
119+
},
120+
{
121+
label: "Matrix",
122+
href: "https://matrix.to/#/#metacall:matrix.org",
123+
},
120124
],
121125
},
122126
{
123-
title: 'More',
127+
title: "More",
124128
items: [
125-
{ label: 'GitHub', href: 'https://github.com/metacall/' },
126-
{ label: 'Gsoc', href: '/docs/Gsoc' },
127-
{ label: 'Changelog', href: 'https://github.com/metacall/core/releases' },
129+
{ label: "GitHub", href: "https://github.com/metacall/" },
130+
{
131+
label: "Changelog",
132+
href: "https://github.com/metacall/core/releases",
133+
},
128134
],
129135
},
130136
],

0 commit comments

Comments
 (0)