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:
@@ -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],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user