docs(v2): Fix file path in "Wrapper your site with <Root>" (website/docs/using-themes.md)

This commit is contained in:
TaeSeong Park 2021-02-01 18:52:22 +09:00 committed by GitHub
parent 39edfe35aa
commit e53d63b769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ And if you want to use Bootstrap styling, you can swap out the theme with `theme
A `<Root>` theme component is rendered at the very top of your Docusaurus site.
It allows you to wrap your site with additional logic, by creating a file at `website/src/theme/Root.js`:
It allows you to wrap your site with additional logic, by creating a file at `src/theme/Root.js`:
```js title="website/src/theme/Root.js"
import React from 'react';

View file

@ -75,7 +75,7 @@ And if you want to use Bootstrap styling, you can swap out the theme with `theme
A `<Root>` theme component is rendered at the very top of your Docusaurus site.
It allows you to wrap your site with additional logic, by creating a file at `website/src/theme/Root.js`:
It allows you to wrap your site with additional logic, by creating a file at `src/theme/Root.js`:
```js title="website/src/theme/Root.js"
import React from 'react';