Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(docs): handle unsupported code languages (#2254)

Francesco Bonacci061cf1b30b9b
diff --git a/docs/source.config.ts b/docs/source.config.ts
index e7c47abf2e..a62d77aa56 100644
--- a/docs/source.config.ts
+++ b/docs/source.config.ts
@@ -25,6 +25,12 @@ export const docs = defineDocs({
export default defineConfig({
lastModifiedTime: 'git',
mdxOptions: {
- // MDX options
+ rehypeCodeOptions: {
+ fallbackLanguage: 'text',
+ themes: {
+ light: 'github-light',
+ dark: 'github-dark',
+ },
+ },
},
});