Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix multiple typos #7561

Merged
merged 1 commit into from
Jun 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docs/api/plugin-methods/lifecycle-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ The API of `configureWebpack` will be modified in the future to accept an object
- `getStyleLoaders(isServer: boolean, cssOptions: {[key: string]: any}): Loader[]`
- `getJSLoader(isServer: boolean, cacheOptions?: {}): Loader | null`

You may use them to return your webpack configures conditionally.
You may use them to return your webpack configuration conditionally.

For example, this plugin below modify the webpack config to transpile `.foo` files.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/api/themes/theme-search-algolia.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This theme provides a `@theme/SearchBar` component that integrates with Algolia
npm install --save @docusaurus/theme-search-algolia
```

This theme also adds search page available at `/search` (as swizzlable `SearchPage` component) path with OpenSearch support. You can this default path via `themeConfig.algolia.searchPagePath`. Use `false` to disable search page.
This theme also adds search page available at `/search` (as swizzlable `SearchPage` component) path with OpenSearch support. You can change this default path via `themeConfig.algolia.searchPagePath`. Use `false` to disable search page.

:::tip

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,11 @@ Use JSX within JSX tag, or move the Markdown to the outer layer:
<div className={styles.wrappingBlock}>
```

<!-- prettier-ignore -->
```jsx
<div style={{color: 'red'}}>**Bold still doesn't work**</div>
<div style={{color: 'red'}}>
**Bold still doesn't work**
</div>
```
```mdx-code-block
Expand All @@ -335,8 +338,13 @@ Add an empty new line:
<div className={styles.wrappingBlock}>
```

<!-- prettier-ignore -->
```jsx
<div style={{color: 'red'}}>**Bold now works**</div>
<div style={{color: 'red'}}>

**Bold now works**

</div>
```
```mdx-code-block
Expand All @@ -360,8 +368,13 @@ Add an empty new line:
<div className={styles.wrappingBlock}>
```

<!-- prettier-ignore -->
```jsx
<div style={{color: 'red'}}>You may think I'm just some text...</div>
<div style={{color: 'red'}}>

You may think I'm just some text...

</div>
```
```mdx-code-block
Expand All @@ -385,8 +398,13 @@ Don't indent:
<div className={styles.wrappingBlock}>
```

<!-- prettier-ignore -->
```jsx
<div style={{color: 'red'}}>Now I'm actually just text</div>
<div style={{color: 'red'}}>

Now I'm actually just text

</div>
```
```mdx-code-block
Expand Down