Skip to content

Commit ac64dd9

Browse files
zimegClaude
andcommitted
refactor(block-kit): remove nested rich_text block example in favor of standalone elements
The rich_text block example (blocks/rich_text) duplicated the standalone rich-text element examples (elements/rich_text_*), which the docs reference pages now pin to directly. Every nested exampleNN is reproduced by a standalone element example, so this is pure deduplication with no loss of demonstrated coverage: - example01 -> rich_text_section - example02/03 -> rich_text_list - example04 -> rich_text_preformatted - example05 -> rich_text_quote - example06-13 (broadcast/color/channel/date/emoji/link/user/usergroup) -> the respective standalone element examples The rich-text-block reference page is prose-only and references no example file, so removing this changes no docs reference. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
1 parent d4bd33b commit ac64dd9

3 files changed

Lines changed: 0 additions & 780 deletions

File tree

‎block-kit/README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Read the [docs](https://docs.slack.dev/block-kit/) to learn concepts behind thes
2020
- **[Input](https://docs.slack.dev/reference/block-kit/blocks/input-block)**: Collects information from users via elements. [Implementation](./src/blocks/input.py).
2121
- **[Markdown](https://docs.slack.dev/reference/block-kit/blocks/markdown-block)**: Displays formatted markdown. [Implementation](./src/blocks/markdown.py).
2222
- **[Plan](https://docs.slack.dev/reference/block-kit/blocks/plan-block)**: Displays a collection of related tasks. [Implementation](./src/blocks/plan.py).
23-
- **[Rich text](https://docs.slack.dev/reference/block-kit/blocks/rich-text-block)**: Displays formatted, structured representation of text. [Implementation](./src/blocks/rich_text.py).
2423
- **[Section](https://docs.slack.dev/reference/block-kit/blocks/section-block)**: Displays text, possibly alongside elements. [Implementation](./src/blocks/section.py).
2524
- **[Table](https://docs.slack.dev/reference/block-kit/blocks/table-block)**: Displays structured information in a table. [Implementation](./src/blocks/table.py).
2625
- **[Task card](https://docs.slack.dev/reference/block-kit/blocks/task-card-block)**: Displays a single task, representing a single action. [Implementation](./src/blocks/task_card.py).

‎block-kit/src/blocks/rich_text.py‎

Lines changed: 0 additions & 321 deletions
This file was deleted.

0 commit comments

Comments
 (0)