diff --git a/.agents/skills/e2e-testing/SKILL.md b/.agents/skills/e2e-testing/SKILL.md index 273508f3b51c..6ad0e6ecac23 100644 --- a/.agents/skills/e2e-testing/SKILL.md +++ b/.agents/skills/e2e-testing/SKILL.md @@ -21,7 +21,7 @@ description: Write and review Playwright E2E tests for Langflow. Trigger when th | Tool | Version | Purpose | |------|---------|---------| -| Playwright | 1.57.0 | E2E test runner + browser automation | +| Playwright | 1.59.1 | E2E test runner + browser automation | | Chromium | (bundled) | Default browser (Firefox/Safari disabled) | | Custom fixtures | `tests/fixtures.ts` | Auto-detects API errors and flow execution failures | diff --git a/.coderabbit.yaml b/.coderabbit.yaml index af47f905ae86..f1dedb1c76ac 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -36,7 +36,8 @@ reviews: ignore_title_keywords: [] labels: [] drafts: false - base_branches: [] + base_branches: + - "release-.*" finishing_touches: docstrings: enabled: true diff --git a/.cursor/rules/docs_development.mdc b/.cursor/rules/docs_development.mdc index 9be76c28527f..94d1cf0a9f8c 100644 --- a/.cursor/rules/docs_development.mdc +++ b/.cursor/rules/docs_development.mdc @@ -10,7 +10,6 @@ globs: alwaysApply: false --- - # Documentation Development Guidelines ## Purpose @@ -29,10 +28,10 @@ Guidelines for developing and maintaining Langflow documentation using Docusauru ```bash cd docs npm install # Install dependencies -npm run start # Start dev server (usually port 3001) +npm run start # Start dev server ``` - Auto-reloads on documentation changes -- Access at: http://localhost:3001/ +- Access at: http://localhost:3000/ - Documentation source: `docs/` --- @@ -52,188 +51,109 @@ docs/ │ ├── develop/ # Guides for developing apps with Langflow │ ├── support/ # Help and release notes │ ├── contributing/ # Contribution guidelines -│ └── api-reference/ # API documentation +│ ├── api-reference/ # API documentation +│ └── _partial-*.mdx # Shared content partials (imported by other pages) ├── src/ # Custom React components ├── static/ # Static assets (images, etc.) -├── sidebars.js # Sidebar configuration -├── docusaurus.config.js # Main configuration -└── package.json # Dependencies +├── sidebars.js # Sidebar configuration +├── docusaurus.config.js # Main configuration +└── package.json # Dependencies ``` -### Content Types -- **Guides:** Step-by-step tutorials (`docs/getting-started/`) -- **Reference:** API and component reference (`docs/api-reference/`) -- **How-to:** Problem-solving articles (`docs/components/`) -- **Concepts:** Explanatory articles about Langflow concepts -- **Blog:** Release notes, announcements (`blog/`) - --- ## 3. Writing Documentation -### Markdown Conventions -```markdown +### Frontmatter +Every `.mdx` file uses only `title` and `slug`. No `description` or `sidebar_position`. + +``` --- title: Page Title -description: Brief description for SEO -sidebar_position: 1 +slug: /page-slug --- +``` -# Page Title - -Brief introduction paragraph. - -## Section Header +The `title` value is used as the page heading — do not add a duplicate `# h1` after the frontmatter. -Content with proper formatting. +### MDX Imports +Most pages import one or more of these at the top, after frontmatter: -### Subsection +``` +import Icon from "@site/src/components/icon"; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; +import SomePartial from '@site/docs/_partial-some-content.mdx'; +``` -More detailed content. +- Use `