Skip to content

✨ feat(docs): migrate to lobedocs - #28

Merged
Innei merged 4 commits into
masterfrom
agent/lobedocs-migration
Jul 17, 2026
Merged

Innei merged 4 commits into
masterfrom
agent/lobedocs-migration

Conversation

@Innei

@Innei Innei commented Jul 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • replace Dumi and dumi-theme-lobehub with the production @lobehub/docs-kit@5.22.3 Lobedocs CLI and @lobehub/ui@5.22.3
  • migrate 17 documentation pages to MDX and add the generated compatibility manifest for 78 demo references
  • include the ComposedChart and RadarChart pages added on the latest master branch
  • preserve the custom home page, navigation, API metadata, search, theme, analytics, and standalone demo routes
  • use the Lobedocs default React Router configuration without requiring a downstream react-router.config.* file

Validation

  • bun install resolved @lobehub/docs-kit@5.22.3 and @lobehub/ui@5.22.3 from npm
  • bun run ci
  • bun run build (87 files)
  • bun run docs:build (19,920 modules)
  • verified /components/composed-chart in a clean browser session with 5 rendered charts and no browser errors
  • verified the standalone ComposedChart demo at desktop and mobile widths: chart containers measured 903×280 and 294×280 respectively, with zero horizontal overflow
  • previously verified the ComposedChart and RadarChart documentation pages after rebasing onto the latest master

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f31190d15a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/DataBars/index.mdx
@@ -0,0 +1,36 @@
---
title: DataBars

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Document the actual DataBars exports

For component pages, Lobedocs builds the header import snippet from the frontmatter title, so this page will advertise import { DataBars } from '@lobehub/charts';. The package only exports the individual data-bar components (ProgressBar, MarkerBar, DeltaBar, CategoryBar) from src/index.ts, so users following this migrated page will copy an import that fails; the old Dumi page avoided this with its atomId list.

Useful? React with 👍 / 👎.

Comment thread src/SparkChart/index.mdx
@@ -0,0 +1,29 @@
---
title: SparkChart

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Document the actual Spark chart exports

The Lobedocs page chrome derives the copyable import from this title, which makes the migrated page show import { SparkChart } from '@lobehub/charts';. There is no SparkChart export in src/index.ts; only SparkAreaChart, SparkBarChart, and SparkLineChart are exported, so the new docs give users a broken import for this grouped page.

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@lobehub/charts@28

commit: 2b0ba6a

@Innei
Innei merged commit 849c8c7 into master Jul 17, 2026
5 checks passed
github-actions Bot pushed a commit that referenced this pull request Jul 17, 2026
## [Version 5.4.0](v5.3.1...v5.4.0)
<sup>Released on **2026-07-17**</sup>

#### ✨ Features

- **docs**: Migrate to lobedocs.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **docs**: Migrate to lobedocs, closes [#28](#28) ([849c8c7](849c8c7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>

This branch was successfully deployed

1 active deployment
Preview — 2b0ba6a9 Deployed Jul 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant