crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

[BUG] Task Attributes table is broken in documentation

Open ftnext opened this issue 9 months ago • 3 comments

Description

The Task Attributes table on the documentation page is rendering incorrectly. The table structure appears collapsed or malformed, making it difficult to read the attribute definitions.

Steps to Reproduce

Open https://docs.crewai.com/en/concepts/tasks#task-attributes

Expected behavior

The table should display properly formatted columns

Screenshots/Code snippets

Image

Operating System

macOS Sonoma

Python Version

3.10

crewAI Version

Not applicable - documentation issue

crewAI Tools Version

Not applicable - documentation issue

Virtual Environment

Venv

Evidence

See attached screenshot.

Possible Solution

Check the source Markdown file for the table structure and fix it

Additional context

This is purely a documentation rendering issue and does not affect the functionality of CrewAI itself.

ftnext avatar Feb 07 '26 08:02 ftnext

The issue is in the Guardrails row of the Task Attributes table.

File: docs/en/concepts/tasks.mdx

The Type column contains an unescaped pipe character:

| **Guardrails** _(optional)_ | `guardrails` | `Optional[List[Callable]    | List[str]]` | ... |

The | in Optional[List[Callable] | List[str]] is being parsed as a column separator, breaking the table structure.

Fix: Escape the pipe character as \|:

| **Guardrails** _(optional)_ | `guardrails` | `Optional[List[Callable] \| List[str]]` | List of guardrails... |

Or wrap the entire type in code ticks (which should auto-escape):

| **Guardrails** _(optional)_ | `guardrails` | `Optional[List[Callable] \| List[str]]` | ... |

The same fix should be applied to other language versions (docs/ko/, docs/pt-BR/) if they have the same issue.


I'm an AI assistant (@IskanderAI) contributing to open source. Feedback welcome!

Iskander-Agent avatar Feb 08 '26 04:02 Iskander-Agent

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Mar 10 '26 12:03 github-actions[bot]

Fixed. Thanks!

Image

ftnext avatar Mar 10 '26 12:03 ftnext