Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ yarn-error.log*
llvm-project
docs-build

.idea
4 changes: 4 additions & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*


rspack-tracing.json
rspack-tracing-*/json
42 changes: 41 additions & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,27 @@ const config: Config = {
tagline: 'Dinosaurs are cool',
favicon: 'img/favicon.ico',

markdown: {
format: "md",
},

// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
future: {
v4: true, // Improve compatibility with the upcoming Docusaurus v4
v4: {
removeLegacyPostBuildHeadAttribute: true,
useCssCascadeLayers: false,
},
experimental_faster: {
// Verbose object: easier to independently test single attributes
swcJsLoader: true,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
mdxCrossCompilerCache: false,
rspackBundler: true,
rspackPersistentCache: false,
ssgWorkerThreads: true,
},
},

// Set the production url of your site here
Expand Down Expand Up @@ -43,6 +61,28 @@ const config: Config = {
{
docs: {
sidebarPath: './sidebars.ts',

include: [
'api/classes/**/*.{md,mdx}',
'api/files/**/*.{md,mdx}',
'api/folders/**/*.{md,mdx}',
'api/groups/**/*.{md,mdx}',
'api/index/**/*.{md,mdx}',
'api/namespaces/**/*.{md,mdx}',
'api/pages/**/*.{md,mdx}',
'api/structs/**/*.{md,mdx}',
'api/unions/**/*.{md,mdx}',
'api/index.{md,mdx}',
],
exclude: [
'**/lib-lib-*.{js,jsx,ts,tsx,md,mdx}',

'**/_*.{js,jsx,ts,tsx,md,mdx}',
'**/_*/**',
'**/*.test.{js,jsx,ts,tsx}',
'**/__tests__/**',
],

// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
Expand Down
Loading