Skip to content

Commit 84a238e

Browse files
authored
Add the default excludes (#37)
This was suggested in facebook/docusaurus#10708 (comment). It doesn't fix the build issue, but seems good to do regardless to not hit other issues down the road.
1 parent ffdbca0 commit 84a238e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

blog/2024-11-21-optimizing-matrix-mul/code/Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docusaurus.config.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ const config: Config = {
5858
xslt: true,
5959
},
6060
editUrl: "https://github.com/Rust-GPU/rust-gpu.github.io/tree/main/",
61-
exclude: ["*/code/**"],
61+
exclude: [
62+
'**/_*.{js,jsx,ts,tsx,md,mdx}',
63+
'**/_*/**',
64+
'**/*.test.{js,jsx,ts,tsx}',
65+
'**/__tests__/**',
66+
'**/code/**'
67+
],
6268
onInlineTags: "throw",
6369
onInlineAuthors: "throw",
6470
onUntruncatedBlogPosts: "throw",

0 commit comments

Comments
 (0)