docs: changes to AI assistant icon + add button to code blocks (#11227)

* docs: changes to AI assistant icon + add button to code blocks

* fix code blocks in questions

* collapse code block in answer

* styling fixes

* fix new line at cursor position
This commit is contained in:
Shahed Nasser
2025-01-30 14:29:22 +02:00
committed by GitHub
parent 386ce4b857
commit be33a56290
21 changed files with 294 additions and 97 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
import path from "path"
import coreConfig from "./modified.tailwind.config"
// Get two levels up from require.resolve("@medusajs/ui")
const root = path.join(require.resolve("docs-ui"), "../..")
const uiPath = path.join(root, "**/*.{js,ts,jsx,tsx,mdx}")
const files = path.join(root, "**/*.{js,ts,jsx,tsx,mdx}")
/** @type {import('tailwindcss').Config} */
module.exports = {
...coreConfig,
content: [uiPath],
content: [files],
}