Skip to content

Remove docusaurus#3155

Merged
texodus merged 4 commits intomasterfrom
remove-docusaurus
Apr 14, 2026
Merged

Remove docusaurus#3155
texodus merged 4 commits intomasterfrom
remove-docusaurus

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented Apr 11, 2026

Remove Docusaurus and replace with a lightweight custom docs site, and modernizes the feature gallery and example configurations along the way.

  • Remove docusaurus, replace with a minimal mdbook-based docs build,custom HTML/TS entry points (index.html, examples.html, block.html),and a simple static file server (server.mjs). While docusaurus isn't speciifically a problem, it is a large dependency (this changes removes 9k loc from the pnpm-lock.yaml, almost half the project's entire dependencies) and Perspective uses very little of its advanced functionality. Also, the numerous React ecosystem dependencies caused implicit workspace version constraints which can now be lifted.
    Screenshot 2026-04-11 at 3 11 37 PM
  • Migrate datagrid plugin_config values in features.ts, move column styling from the legacyplugin_config.columns format to the current top-level columns_configAPI (number_fg_mode, number_bg_mode, fg_gradient, bg_gradient, pos_fg_color/neg_fg_color, pos_bg_color/neg_bg_color).
  • Add new feature for label-bar mode, group_rollup_mode: "flat",X/Y Scatter with label field, and number/date/string format options (signDisplay, significantDigits, useGrouping, dateStyle/timeStyle, custom datetime components, bold/italics format mode).
  • Gallery montage now renders the gallery as a single montage image instead of individual <img> elements. The build script shuffles feature indices once (shared across light/dark themes) and writes montage_map.json with the tile-to-index mapping. The gallery component fetches this map and translates click coordinates to the correct feature index. Theme toggling swaps between montage_light.png and montage_dark.png.
  • Refactor the tools/ project, remove unused scripts (sh.mjs, run_emsdk.mjs, fix_cpp.mjs, emsdk.patch), simplify remaining build helpers.
  • Enable doctests, reorganize tests — add to_format/ test directory with data_slice, leaves_only, to_arrow, to_csv, to_json, to_ndjson, and export specs; move existing format tests under the new structure. Adds end-to-end tests for The export function does not support Traditional Chinese. #3152 also.

@texodus texodus added the internal Internal refactoring and code quality improvement label Apr 11, 2026
texodus added 3 commits April 13, 2026 18:30
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus force-pushed the remove-docusaurus branch from 7fbda2f to 410d3c4 Compare April 13, 2026 22:40
@texodus texodus marked this pull request as ready for review April 13, 2026 22:45
@texodus texodus force-pushed the remove-docusaurus branch from 840397a to 4d11eb3 Compare April 14, 2026 04:13
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus force-pushed the remove-docusaurus branch from 4d11eb3 to f517e9c Compare April 14, 2026 05:47
@texodus texodus merged commit b06dfe4 into master Apr 14, 2026
16 checks passed
@texodus texodus deleted the remove-docusaurus branch April 14, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal refactoring and code quality improvement

Development

Successfully merging this pull request may close these issues.

1 participant