Skip to content

Commit 9b05284

Browse files
chore: remove github link (#78)
removed github link from the header --------- Co-authored-by: BeroBurny <bero4net@gmail.com>
1 parent cca32fe commit 9b05284

File tree

1 file changed

+61
-64
lines changed

1 file changed

+61
-64
lines changed

docs/docusaurus.config.ts

Lines changed: 61 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,135 +1,133 @@
1-
import {themes as prismThemes} from 'prism-react-renderer';
2-
import type {Config} from '@docusaurus/types';
3-
import type * as Preset from '@docusaurus/preset-classic';
1+
import { themes as prismThemes } from "prism-react-renderer";
2+
import type { Config } from "@docusaurus/types";
3+
import type * as Preset from "@docusaurus/preset-classic";
44

55
const config: Config = {
6-
title: 'Sprinter',
7-
tagline: 'Multichain interactions that feel like one',
8-
favicon: 'img/sprinter.ico',
6+
title: "Sprinter",
7+
tagline: "Multichain interactions that feel like one",
8+
favicon: "img/sprinter.ico",
99

10-
url: 'https://docs.sprinter.buildwithsygma.com/',
11-
baseUrl: '/',
10+
url: "https://docs.sprinter.buildwithsygma.com/",
11+
baseUrl: "/",
1212

13-
organizationName: 'ChainSafe',
14-
projectName: 'sprinter-ts',
13+
organizationName: "ChainSafe",
14+
projectName: "sprinter-ts",
1515

16-
onBrokenLinks: 'throw',
17-
onBrokenMarkdownLinks: 'warn',
16+
onBrokenLinks: "throw",
17+
onBrokenMarkdownLinks: "warn",
1818

1919
i18n: {
20-
defaultLocale: 'en',
21-
locales: ['en'],
20+
defaultLocale: "en",
21+
locales: ["en"],
2222
},
2323

2424
presets: [
2525
[
26-
'classic',
26+
"classic",
2727
{
2828
docs: {
2929
remarkPlugins: [
30-
[require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}],
30+
[require("@docusaurus/remark-plugin-npm2yarn"), { sync: true }],
3131
],
32-
sidebarPath: './sidebars.ts',
32+
sidebarPath: "./sidebars.ts",
3333
// Please change this to your repo.
3434
// Remove this to remove the "edit this page" links.
35-
editUrl:
36-
'https://github.com/chainsafe/sprinter-ts',
35+
editUrl: "https://github.com/chainsafe/sprinter-ts",
3736
},
3837
blog: false,
3938
theme: {
40-
customCss: require.resolve('./src/css/custom.css'),
39+
customCss: require.resolve("./src/css/custom.css"),
4140
},
4241
} satisfies Preset.Options,
4342
],
4443
],
4544

4645
themeConfig: {
47-
4846
navbar: {
49-
title: 'Sprinter',
47+
title: "Sprinter",
5048
logo: {
51-
alt: 'Sprinter Temp Logo',
52-
src: 'img/sprinter-logo.svg',
53-
srcDark: 'img/sprinter-logo-white.svg',
49+
alt: "Sprinter Temp Logo",
50+
src: "img/sprinter-logo.svg",
51+
srcDark: "img/sprinter-logo-white.svg",
5452
},
5553
items: [
5654
{
57-
to: 'docs/quickstart',
58-
position: 'left',
59-
label: 'Learn',
55+
to: "docs/quickstart",
56+
position: "left",
57+
label: "Learn",
6058
},
6159
{
62-
href: 'https://poc.sprinter.buildwithsygma.com/',
63-
label: 'POC',
64-
position: 'left',
60+
href: "https://poc.sprinter.buildwithsygma.com/",
61+
label: "POC",
62+
position: "left",
6563
},
6664
{
67-
href: 'https://api.test.sprinter.buildwithsygma.com/swagger/index.html',
68-
label: 'Swagger',
69-
position: 'right',
70-
},
71-
{
72-
href: 'https://github.com/ChainSafe/sprinter-ts',
73-
label: 'GitHub',
74-
position: 'right',
65+
href: "https://api.test.sprinter.buildwithsygma.com/swagger/index.html",
66+
label: "Swagger",
67+
position: "right",
7568
},
69+
// {
70+
// href: 'https://github.com/ChainSafe/sprinter-ts',
71+
// label: 'GitHub',
72+
// position: 'right',
73+
// },
7674
],
7775
},
7876
footer: {
79-
style: 'dark',
77+
style: "dark",
8078
links: [
8179
{
82-
title: 'Docs',
80+
title: "Docs",
8381
items: [
8482
{
85-
label: 'Introduction',
86-
to: '/docs/introduction',
83+
label: "Introduction",
84+
to: "/docs/introduction",
8785
},
8886
{
89-
label: 'SDK',
90-
to: '/docs/sdk',
87+
label: "SDK",
88+
to: "/docs/sdk",
9189
},
9290
{
93-
label: 'React SDK',
94-
to: '/docs/react-sdk/',
91+
label: "React SDK",
92+
to: "/docs/react-sdk/",
9593
},
9694
],
9795
},
9896
{
99-
title: 'Community',
97+
title: "Community",
10098
items: [
10199
{
102-
label: 'Twitter',
103-
href: 'https://twitter.com/sprinter_ux',
100+
label: "Twitter",
101+
href: "https://twitter.com/sprinter_ux",
104102
},
105103
{
106-
label: 'Discord',
107-
href: 'https://discord.gg/Qdf6GyNB5J',
104+
label: "Discord",
105+
href: "https://discord.gg/Qdf6GyNB5J",
108106
},
109107
{
110-
label: 'YouTube',
111-
href: 'https://youtube.com/@buildwithsygma',
108+
label: "YouTube",
109+
href: "https://youtube.com/@buildwithsygma",
112110
},
113111
],
114112
},
115113
{
116-
title: 'More',
114+
title: "More",
117115
items: [
118116
{
119-
label: 'Website',
120-
href: 'https://sprinter.box',
117+
label: "Website",
118+
href: "https://sprinter.box",
121119
},
122120
{
123-
label: 'GitHub',
124-
href: 'https://github.com/ChainSafe/sprinter-ts',
121+
label: "GitHub",
122+
href: "https://github.com/ChainSafe/sprinter-ts",
125123
},
126124
{
127-
label: 'Swagger',
128-
href: 'https://api.test.sprinter.buildwithsygma.com/swagger/index.html',
125+
label: "Swagger",
126+
href: "https://api.test.sprinter.buildwithsygma.com/swagger/index.html",
129127
},
130128
{
131-
label: 'Blog',
132-
href: 'https://blog.buildwithsygma.com',
129+
label: "Blog",
130+
href: "https://blog.buildwithsygma.com",
133131
},
134132
],
135133
},
@@ -153,5 +151,4 @@ const config: Config = {
153151
],
154152
};
155153

156-
157154
export default config;

0 commit comments

Comments
 (0)