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:
Mendon Kissling 2025-03-12 20:18:29 -04:00 committed by GitHub
commit 41b0d7c4f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 108 additions and 90 deletions

File diff suppressed because one or more lines are too long

View file

@ -121,5 +121,5 @@ docker build -t myuser/langflow-hello-world:1.0.0 .
docker push myuser/langflow-hello-world:1.0.0
```
To deploy the image with Helm, see [Langflow runtime deployment](/deployment-kubernetes#langflow-runtime-deployment).
To deploy the image with Helm, see [Langflow runtime deployment](/deployment-kubernetes#deploy-the-langflow-runtime).

View file

@ -10,8 +10,8 @@ This guide demonstrates deploying Langflow on a Kubernetes cluster.
Two charts are available at the [Langflow Helm Charts repository](https://github.com/langflow-ai/langflow-helm-charts):
- Deploy the [Langflow IDE](deployment-kubernetes#langflow-ide-deployment) for the complete Langflow development environment.
- Deploy the [Langflow runtime](/deployment-kubernetes#langflow-runtime-deployment) to deploy a standalone Langflow application in a more secure and stable environment.
- Deploy the [Langflow IDE](#deploy-the-langflow-ide) for the complete Langflow development environment.
- Deploy the [Langflow runtime](#deploy-the-langflow-runtime) to deploy a standalone Langflow application in a more secure and stable environment.
## Deploy the Langflow IDE

View file

@ -1,6 +1,7 @@
{
"name": "langflow-docs",
"version": "0.0.0",
"license": "MIT",
"private": false,
"scripts": {
"clear-docs": "rimraf ./docs/",

17
docs/tailwind.config.js Normal file
View 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
}