Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import react from "@astrojs/react";
import { createStarlightTypeDocPlugin } from "starlight-typedoc";
import starlightLlmsTxt from "starlight-llms-txt";

const demosUrl =
process.env.NODE_ENV === "development" ? "http://localhost:5184" : "/demos/";
Expand All @@ -28,6 +29,9 @@ export default defineConfig({
title: "Seizen DataTable",
customCss: ["./src/styles/custom.css"],
plugins: [
starlightLlmsTxt({
rawContent: true,
}),
pluginAPITypeDoc({
entryPoints: ["../packages/datatable-react/src/plugin/index.ts"],
tsconfig: "../packages/datatable-react/tsconfig.json",
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"react-dom": "^19.2.3",
"react-router": "^7.12.0",
"sharp": "^0.34.2",
"starlight-llms-txt": "^0.7.0",
"starlight-typedoc": "^0.21.5",
"typedoc": "^0.28.15",
"typedoc-plugin-markdown": "^4.9.0",
Expand Down
6 changes: 0 additions & 6 deletions docs/src/content/docs/advanced/compound-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ function CustomTable({ data, columns }) {
Level 3 loses plugin support and context menus. Use Level 2 if you need those features.
:::

---

## Component Reference

### DataTable Components
Expand Down Expand Up @@ -150,8 +148,6 @@ DataTable.Root (providers + context)
└─ DataTablePlugins.SidePanel (position: "right")
```

---

## Customization

### Custom Row Rendering
Expand Down Expand Up @@ -241,8 +237,6 @@ You can add custom elements anywhere in the layout:
</DataTable.Root>
```

---

## Advanced: Using Hooks

For completely custom rendering while keeping context menu support, use the provided hooks inside `DataTable.Root`.
Expand Down
94 changes: 94 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.