Skip to content

Commit ee43abd

Browse files
committed
docs: remove boilerplate docsite content
1 parent 93cb2cf commit ee43abd

File tree

2 files changed

+8
-98
lines changed

2 files changed

+8
-98
lines changed

doc-site/docs/intro.md

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,4 @@
22
sidebar_position: 1
33
---
44

5-
# Tutorial Intro WOO
6-
7-
Let's discover **Docusaurus in less than 5 minutes**.
8-
9-
## Getting Started
10-
11-
Get started by **creating a new site**.
12-
13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14-
15-
### What you'll need
16-
17-
- [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
18-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
19-
20-
## Generate a new site
21-
22-
Generate a new Docusaurus site using the **classic template**.
23-
24-
The classic template will automatically be added to your project after you run the command:
25-
26-
```bash
27-
npm init docusaurus@latest my-website classic
28-
```
29-
30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
31-
32-
The command also installs all necessary dependencies you need to run Docusaurus.
33-
34-
## Start your site
35-
36-
Run the development server:
37-
38-
```bash
39-
cd my-website
40-
npm run start
41-
```
42-
43-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
44-
45-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
46-
47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
5+
# Intro

doc-site/src/components/HomepageFeatures/index.tsx

Lines changed: 7 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,21 @@
1-
import clsx from 'clsx';
2-
import Heading from '@theme/Heading';
3-
import styles from './styles.module.css';
1+
import React from "react";
2+
import clsx from "clsx";
3+
import Heading from "@theme/Heading";
4+
import styles from "./styles.module.css";
45

56
type FeatureItem = {
67
title: string;
7-
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
8+
Svg: React.ComponentType<React.ComponentProps<"svg">>;
89
description: JSX.Element;
910
};
1011

11-
const FeatureList: FeatureItem[] = [
12-
{
13-
title: 'Easy to Use',
14-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
15-
description: (
16-
<>
17-
Docusaurus was designed from the ground up to be easily installed and
18-
used to get your website up and running quickly.
19-
</>
20-
),
21-
},
22-
{
23-
title: 'Focus on What Matters',
24-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
25-
description: (
26-
<>
27-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
28-
ahead and move your docs into the <code>docs</code> directory.
29-
</>
30-
),
31-
},
32-
{
33-
title: 'Powered by React',
34-
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
35-
description: (
36-
<>
37-
Extend or customize your website layout by reusing React. Docusaurus can
38-
be extended while reusing the same header and footer.
39-
</>
40-
),
41-
},
42-
];
43-
44-
function Feature({title, Svg, description}: FeatureItem) {
45-
return (
46-
<div className={clsx('col col--4')}>
47-
<div className="text--center">
48-
<Svg className={styles.featureSvg} role="img" />
49-
</div>
50-
<div className="text--center padding-horiz--md">
51-
<Heading as="h3">{title}</Heading>
52-
<p>{description}</p>
53-
</div>
54-
</div>
55-
);
56-
}
12+
const FeatureList: FeatureItem[] = [];
5713

5814
export default function HomepageFeatures(): JSX.Element {
5915
return (
6016
<section className={styles.features}>
6117
<div className="container">
62-
<div className="row">
63-
{FeatureList.map((props, idx) => (
64-
<Feature key={idx} {...props} />
65-
))}
66-
</div>
18+
<div className="row"></div>
6719
</div>
6820
</section>
6921
);

0 commit comments

Comments
 (0)