File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
2121 # https://docusaurus.io/docs/deployment#triggering-deployment-with-github-actions
2222 steps :
2323 - uses : actions/checkout@v3
24- - uses : actions/setup-node@v3
24+ - uses : actions/setup-node@v6
2525 with :
26- node-version : " current "
26+ node-version : 24
2727
2828 - name : Install dependencies
29- run : yarn install
29+ run : npm install
3030
3131 - name : Download toolkit READMEs
3232 run : |
4545 mv ${{ runner.temp }}/wiki/* $GITHUB_WORKSPACE/docs/Toolchain
4646
4747 - name : Build website
48- run : yarn build
48+ run : npm build
4949
5050 # Popular action to deploy to GitHub Pages:
5151 # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ const config = {
2424 projectName : "simple.toolchain.documentation" , // Usually your repo name.
2525 trailingSlash : false ,
2626
27+ markdown : {
28+ hooks : {
29+ onBrokenMarkdownLinks : "warn"
30+ }
31+ } ,
2732 onBrokenLinks : "throw" ,
28- onBrokenMarkdownLinks : "warn" ,
2933
3034 // Even if you don't use internationalization, you can use this field to set
3135 // useful metadata like html lang. For example, if your site is Chinese, you
Original file line number Diff line number Diff line change 1414 "write-heading-ids" : " docusaurus write-heading-ids"
1515 },
1616 "dependencies" : {
17- "@docusaurus/core" : " ^3.6.3 " ,
18- "@docusaurus/preset-classic" : " ^3.6.3 " ,
19- "@easyops-cn/docusaurus-search-local" : " ^0.44.3 " ,
20- "@mdx-js/react" : " ^2.3.0 " ,
17+ "@docusaurus/core" : " ^3.9.2 " ,
18+ "@docusaurus/preset-classic" : " ^3.9.2 " ,
19+ "@easyops-cn/docusaurus-search-local" : " ^0.52.1 " ,
20+ "@mdx-js/react" : " ^3.1.1 " ,
2121 "clsx" : " ^1.2.1" ,
2222 "docusaurus-plugin-goatcounter" : " ^4.0.0" ,
2323 "prism-react-renderer" : " ^1.3.5" ,
You can’t perform that action at this time.
0 commit comments