docs: fix syntax errors at build (#7047)
* docs-fix-linking-errors * docs-fix-codehike-errors * add-mit-license-field-to-package-json * add-tailwind-config-file --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
33a2484d47
commit
41b0d7c4f2
5 changed files with 108 additions and 90 deletions
17
docs/tailwind.config.js
Normal file
17
docs/tailwind.config.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
"./src/**/*.{js,jsx,ts,tsx,md,mdx}",
|
||||
"./docs/**/*.{js,jsx,ts,tsx,md,mdx}",
|
||||
"./blog/**/*.{js,jsx,ts,tsx,md,mdx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
// Docusaurus specific configuration
|
||||
corePlugins: {
|
||||
preflight: false, // This is important to prevent Tailwind from conflicting with Docusaurus styles
|
||||
},
|
||||
darkMode: ['class', '[data-theme="dark"]'], // This helps with Docusaurus dark mode
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue