Skip to content

Commit e65510c

Browse files
fix(very_good_docs_site): update docusaurus config (#367)
1 parent d4a0d02 commit e65510c

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/very_good_docs_site.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: ⚙️ Setup Node
4141
uses: actions/setup-node@v5
4242
with:
43-
node-version: 18.x
43+
node-version: 22.x
4444

4545
- name: 📦 Install Dependencies
4646
run: |

very_good_docs_site/__brick__/.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: ⚙️ Setup Node
1414
uses: actions/setup-node@v3
1515
with:
16-
node-version: 16.x
16+
node-version: 22.x
1717
cache: npm
1818
cache-dependency-path: package-lock.json
1919

very_good_docs_site/__brick__/docusaurus.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,24 @@ const config = {
1111
url: 'https://{{project_name.paramCase()}}.com',
1212
baseUrl: '/',
1313
onBrokenLinks: 'throw',
14-
onBrokenMarkdownLinks: 'warn',
1514
favicon: 'img/favicon.ico',
16-
1715
// GitHub pages deployment config.
1816
// If you aren't using GitHub pages, you don't need these.
1917
organizationName: '{{{org_name}}}', // Usually your GitHub org/user name.
2018
projectName: '{{project_name.snakeCase()}}', // Usually your repo name.
21-
2219
// Even if you don't use internalization, you can use this field to set useful
2320
// metadata like html lang. For example, if your site is Chinese, you may want
2421
// to replace "en" with "zh-Hans".
2522
i18n: {
2623
defaultLocale: 'en',
2724
locales: ['en'],
2825
},
29-
26+
markdown: {
27+
hooks: {
28+
onBrokenMarkdownLinks: 'warn',
29+
onBrokenMarkdownImages: 'throw',
30+
},
31+
},
3032
presets: [
3133
[
3234
'classic',

very_good_docs_site/__brick__/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint ."
1919
},
2020
"dependencies": {
21-
"@docusaurus/core": "^3.6.0",
22-
"@docusaurus/preset-classic": "^3.6.0",
21+
"@docusaurus/core": "^3.9.1",
22+
"@docusaurus/preset-classic": "^3.9.1",
2323
"@mdx-js/react": "^3.0.1",
2424
"clsx": "^2.1.1",
2525
"prism-react-renderer": "^2.3.1",
@@ -28,9 +28,9 @@
2828
},
2929
"devDependencies": {
3030
"@babel/eslint-parser": "^7.24.5",
31-
"@docusaurus/eslint-plugin": "^3.6.0",
32-
"@docusaurus/module-type-aliases": "^3.6.0",
33-
"@docusaurus/tsconfig": "^3.6.0",
31+
"@docusaurus/eslint-plugin": "^3.9.1",
32+
"@docusaurus/module-type-aliases": "^3.9.1",
33+
"@docusaurus/tsconfig": "^3.9.1",
3434
"eslint": "^9.2.0",
3535
"prettier": "^3.2.5",
3636
"typescript": "^5.4.5",
@@ -50,6 +50,6 @@
5050
]
5151
},
5252
"engines": {
53-
"node": ">=18.0.0"
53+
"node": ">=22.20.0"
5454
}
5555
}

0 commit comments

Comments
 (0)