Skip to content

Commit 3b8f36b

Browse files
authored
Serve docs from the root (#22)
1 parent 23486cf commit 3b8f36b

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,13 @@ 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 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.
18-
19-
### Build
20-
21-
```
22-
$ yarn build
23-
```
24-
25-
This command generates static content into the `build` directory and can be served using any static contents hosting service.

docusaurus.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const config: Config = {
3737
{
3838
docs: {
3939
sidebarPath: './sidebars.ts',
40+
routeBasePath: '/',
4041
},
4142
theme: {
4243
customCss: './src/css/custom.css',

src/pages/index.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)