mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-01 16:00:29 +02:00
docs(v2): Fix file path in "Wrapper your site with <Root>
" (website/docs/using-themes.md)
This commit is contained in:
parent
39edfe35aa
commit
e53d63b769
2 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue