mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-18 00:57:51 +02:00
fix: fix docs lint issue (#11154)
This commit is contained in:
parent
42223ef9eb
commit
91d95a9ac1
1 changed files with 4 additions and 0 deletions
|
@ -380,6 +380,7 @@ If your Docusaurus project is not at the root of your repo, you may need to conf
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem value="npm" label="npm">
|
<TabItem value="npm" label="npm">
|
||||||
|
|
||||||
```yml title=".github/workflows/deploy.yml"
|
```yml title=".github/workflows/deploy.yml"
|
||||||
name: Deploy to GitHub Pages
|
name: Deploy to GitHub Pages
|
||||||
|
|
||||||
|
@ -462,8 +463,10 @@ jobs:
|
||||||
- name: Test build website
|
- name: Test build website
|
||||||
run: npm build
|
run: npm build
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="yarn" label="Yarn">
|
<TabItem value="yarn" label="Yarn">
|
||||||
|
|
||||||
```yml title=".github/workflows/deploy.yml"
|
```yml title=".github/workflows/deploy.yml"
|
||||||
name: Deploy to GitHub Pages
|
name: Deploy to GitHub Pages
|
||||||
|
|
||||||
|
@ -546,6 +549,7 @@ jobs:
|
||||||
- name: Test build website
|
- name: Test build website
|
||||||
run: yarn build
|
run: yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue