langflow/docs
Gabriel Luiz Freitas Almeida aeca627222 📝 docs(custom-component.mdx): update guidelines for custom components
 feat(custom-component.mdx): add rules and explanations for creating custom components

📝 docs(custom-component.mdx): update rule 1 to specify that the script must contain a single class inheriting from CustomComponent

📝 docs(custom-component.mdx): update rule 2 to specify that the class must have a build method

📝 docs(custom-component.mdx): update rule 3 to specify that the type annotations of the build method will be used to create the fields of the component

📝 docs(custom-component.mdx): update rule 4 to specify that the class can have a build_config method

📝 docs(custom-component.mdx): update rule 4 to provide details on the format of the build_config method

📝 docs(custom-component.mdx): update rule 4 to correct a typo in the display_name key

📝 docs(custom-component.mdx): update rule 4 to provide additional details on the options and multiline keys in the build_config method

📝 docs(custom-component.mdx): add example for creating a FlowRunner component

📝 docs(custom-component.mdx): update example for creating a FlowRunner component to include display_name and description attributes

📝 docs(custom-component.mdx): update example for creating a FlowRunner component to import Document from the schema module

📝 docs(custom-component.mdx): update example for creating a FlowRunner component to add parameters and return type to the build method
2023-07-27 17:28:46 -03:00
..
docs 📝 docs(custom-component.mdx): update guidelines for custom components 2023-07-27 17:28:46 -03:00
plugins add docs with components 2023-07-18 15:08:00 -03:00
src 🔧 chore(custom.css): adjust max-width and min-width of .ch-scrollycoding-content and .ch-scrollycoding-sticker to improve layout 2023-07-27 17:20:29 -03:00
static add docs with components 2023-07-18 15:08:00 -03:00
babel.config.js add docs with components 2023-07-18 15:08:00 -03:00
docusaurus.config.js 🔧 chore(docusaurus.config.js): enable sidebar to be hideable in the docs section for better user experience 2023-07-27 07:59:58 -03:00
index.d.ts add docs with components 2023-07-18 15:08:00 -03:00
package-lock.json 🔧 chore(package.json): update dependencies 2023-07-27 06:58:37 -03:00
package.json 🔧 chore(package.json): update dependencies 2023-07-27 06:58:37 -03:00
README.md add docs with components 2023-07-18 15:08:00 -03:00
sidebars.js 🔧 chore(docs): update docusaurus.config.js to use monokai theme for code highlighting, show copy button, and display line numbers 2023-07-27 06:58:38 -03:00
spell_add.sh add docs with components 2023-07-18 15:08:00 -03:00
spell_check.sh add docs with components 2023-07-18 15:08:00 -03:00
tailwind.config.js add docs with components 2023-07-18 15:08:00 -03:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.