Skip to content

Commit 8b4d680

Browse files
committed
Fix formatting issues
1 parent 7a7b46f commit 8b4d680

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
55
### Installation
66

77
```
8-
$ yarn
8+
$ npm install
99
```
1010

1111
### Local Development
1212

1313
```
14-
$ yarn start
14+
$ npm run start
1515
```
1616

1717
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
1818

1919
### Build
2020

2121
```
22-
$ yarn build
22+
$ npm run build
2323
```
2424

2525
This command generates static content into the `build` directory and can be served using any static contents hosting service.
@@ -29,13 +29,13 @@ This command generates static content into the `build` directory and can be serv
2929
Using SSH:
3030

3131
```
32-
$ USE_SSH=true yarn deploy
32+
$ USE_SSH=true npm run deploy
3333
```
3434

3535
Not using SSH:
3636

3737
```
38-
$ GIT_USER=<Your GitHub username> yarn deploy
38+
$ GIT_USER=<Your GitHub username> npm run deploy
3939
```
4040

4141
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const config: Config = {
9595
items: [
9696
{
9797
label: "GitHub",
98-
href: "https://github.com/facebook/docusaurus",
98+
href: "https://github.com/nt0xa/sonar",
9999
},
100100
],
101101
},

docs/src/pages/index.tsx

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,30 @@ import Heading from "@theme/Heading";
88
import styles from "./index.module.css";
99

1010
function HomepageHeader() {
11-
const { siteConfig } = useDocusaurusContext();
12-
return (
13-
<header className={clsx("hero hero--primary", styles.heroBanner)}>
14-
<div className="container">
15-
<Heading as="h1" className="hero__title">
16-
{siteConfig.title}
17-
</Heading>
18-
<p className="hero__subtitle">{siteConfig.tagline}</p>
19-
</div>
20-
</header>
21-
);
11+
const { siteConfig } = useDocusaurusContext();
12+
return (
13+
<header className={clsx("hero hero--primary", styles.heroBanner)}>
14+
<div className="container">
15+
<Heading as="h1" className="hero__title">
16+
{siteConfig.title}
17+
</Heading>
18+
<p className="hero__subtitle">{siteConfig.tagline}</p>
19+
</div>
20+
</header>
21+
);
2222
}
2323

2424
export default function Home(): JSX.Element {
25-
const { siteConfig } = useDocusaurusContext();
26-
return (
27-
<Layout
28-
title={siteConfig.title}
29-
description="Description will go into a meta tag in <head />"
30-
>
31-
<HomepageHeader />
32-
<main>
33-
<HomepageFeatures />
34-
</main>
35-
</Layout>
36-
);
25+
const { siteConfig } = useDocusaurusContext();
26+
return (
27+
<Layout
28+
title={siteConfig.title}
29+
description="Description will go into a meta tag in <head />"
30+
>
31+
<HomepageHeader />
32+
<main>
33+
<HomepageFeatures />
34+
</main>
35+
</Layout>
36+
);
3737
}

0 commit comments

Comments
 (0)