Skip to content

Commit

Permalink
Add the default excludes (#37)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LegNeato authored Nov 23, 2024
1 parent ffdbca0 commit 84a238e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions blog/2024-11-21-optimizing-matrix-mul/code/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ const config: Config = {
xslt: true,
},
editUrl: "https://github.com/Rust-GPU/rust-gpu.github.io/tree/main/",
exclude: ["*/code/**"],
exclude: [
'**/_*.{js,jsx,ts,tsx,md,mdx}',
'**/_*/**',
'**/*.test.{js,jsx,ts,tsx}',
'**/__tests__/**',
'**/code/**'
],
onInlineTags: "throw",
onInlineAuthors: "throw",
onUntruncatedBlogPosts: "throw",
Expand Down

0 comments on commit 84a238e

Please sign in to comment.