Skip to content

docs: update keplergl-jupyter docs for v0.4.0#3431

Open
lixun910 with Copilot wants to merge 12 commits into
masterfrom
copilot/update-kepler-jupyter-doc
Open

docs: update keplergl-jupyter docs for v0.4.0#3431
lixun910 with Copilot wants to merge 12 commits into
masterfrom
copilot/update-kepler-jupyter-doc

Conversation

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
  • Confirm target file is /home/runner/work/kepler.gl/kepler.gl/bindings/python/README.md
  • Run existing validation commands for the bindings/python area to capture baseline status
  • Add a concise README section showing both Claude Code and Codex skill setup
  • Refine wording to keep Codex support while avoiding product-name ambiguity
  • Extend Codex setup guidance with skill folder structure and optional assets/icons using existing kepler.gl icon paths
  • Fix icon path examples to use repository-relative paths
  • Re-run relevant validation for the touched area
  • Summarize the README update and validation results

Copilot AI and others added 2 commits May 9, 2026 17:54
- Document theme and app_name parameters in KeplerGl() constructor
- Document json_encoder, app_name, theme parameters in save_to_html()
- Add new Section 8: Customize Theme and App Name
- Add GeoDataFrame datetime and empty geometry handling docs
- Update prerequisites to Python >= 3.9, modern Jupyter
- Remove obsolete nbextension/labextension install steps
- Update demo notebook links to bindings/python/notebooks/
- Add new notebook links (Theme, Empty GeoDataFrame, Datetime)
- Modernize FAQ section
- Update bindings/python/README.md with features overview

Agent-Logs-Url: https://github.com/keplergl/kepler.gl/sessions/6329811c-d920-4f01-85f4-2def1e980723

Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>
Split the monolithic README.md into focused doc pages:
- install.md: Installation instructions
- widget-api.md: KeplerGl(), .add_data(), .data
- data-formats.md: CSV, GeoJSON, DataFrame, GeoDataFrame, WKT
- map-customization.md: Theme, app name, interactive customization
- config.md: Save/load config, match config with data
- save-and-export.md: save_to_html(), _repr_html_()
- faq.md: FAQ, troubleshooting, demo notebooks

Update table-of-contents.json and SUMMARY.md with new entries.

Agent-Logs-Url: https://github.com/keplergl/kepler.gl/sessions/69e0abb3-2c7a-4b1b-886f-fe3d4485b925

Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>
@lixun910
lixun910 marked this pull request as ready for review May 9, 2026 21:25
Copilot AI review requested due to automatic review settings May 9, 2026 21:25
@lixun910 lixun910 changed the title docs: split keplergl-jupyter docs into separate sub-pages docs: update keplergl-jupyter docs for v0.4.0 May 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR restructures the kepler.gl Jupyter documentation by splitting the previous monolithic docs/keplergl-jupyter/README.md into multiple focused sub-pages and wiring them into the docs navigation (GitBook SUMMARY.md and the Gatsby docs TOC).

Changes:

  • Split kepler.gl-jupyter user guide content into dedicated pages (install, widget API, data formats, customization, config, export, FAQ).
  • Update docs navigation to link to the new sub-pages.
  • Refresh Python bindings README with a clearer feature list.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
SUMMARY.md Adds keplergl-jupyter sub-page links to the GitBook-style sidebar.
docs/table-of-contents.json Updates Gatsby docs navigation to include the new keplergl-jupyter pages.
docs/keplergl-jupyter/README.md Converts the previous long-form guide into an index/landing page with links + quick start.
docs/keplergl-jupyter/install.md New install/prerequisites page reflecting anywidget-based setup.
docs/keplergl-jupyter/widget-api.md New API reference page for KeplerGl(), .add_data(), and .data.
docs/keplergl-jupyter/data-formats.md New dedicated page describing supported input formats and examples.
docs/keplergl-jupyter/map-customization.md New page describing interactive customization, theme, and app name.
docs/keplergl-jupyter/config.md New page describing .config usage and matching config with data.
docs/keplergl-jupyter/save-and-export.md New page describing widget state persistence, HTML export, and embedding.
docs/keplergl-jupyter/faq.md New FAQ page with renumbered sections and updated troubleshooting guidance.
bindings/python/README.md Adds a “Features” section summarizing key capabilities.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/table-of-contents.json Outdated
Comment thread docs/keplergl-jupyter/config.md Outdated
Comment thread docs/keplergl-jupyter/widget-api.md Outdated
Comment thread docs/keplergl-jupyter/save-and-export.md Outdated
Copilot AI and others added 7 commits May 9, 2026 21:36
Agent-Logs-Url: https://github.com/keplergl/kepler.gl/sessions/515f8388-a304-4295-b4e4-cb3eab823ae9

Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>
@lixun910

lixun910 commented May 9, 2026

Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

- Fix broken TOC entry: point to docs/keplergl-jupyter (README) instead
  of non-existent user-guide page
- Fix invalid Python syntax in config.md code example
- Fix duplicate dict key data_3 → data_2 in widget-api.md
- Normalize menu label to "Widgets" in save-and-export.md

Agent-Logs-Url: https://github.com/keplergl/kepler.gl/sessions/139036cf-67ae-4adc-b8ea-3bd8e62c6490

Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Author

@copilot apply changes based on the comments in this thread

Applied all four review fixes in commit 0342241:

  1. TOC broken link – Changed docs/keplergl-jupyter/user-guidedocs/keplergl-jupyter (resolves to the folder README).
  2. Invalid Python in config.md – Replaced ... with a # ...other config options comment and fixed the trailing comma/brace mismatch.
  3. Duplicate dict key in widget-api.md – Renamed the second data_3 to data_2 so all keys are unique.
  4. Inconsistent menu label – Changed Widget > to Widgets > in save-and-export.md to match map-customization.md.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 10 comments.

Comment thread docs/keplergl-jupyter/data-formats.md Outdated
Comment thread docs/keplergl-jupyter/data-formats.md Outdated
Comment thread docs/keplergl-jupyter/data-formats.md
Comment thread docs/keplergl-jupyter/data-formats.md Outdated
Comment thread docs/keplergl-jupyter/README.md Outdated
Comment thread docs/keplergl-jupyter/widget-api.md Outdated
Comment thread docs/keplergl-jupyter/save-and-export.md Outdated
Comment thread docs/keplergl-jupyter/config.md Outdated
Comment thread docs/keplergl-jupyter/config.md Outdated
Comment thread docs/keplergl-jupyter/README.md Outdated
@lixun910

lixun910 commented May 9, 2026

Copy link
Copy Markdown
Collaborator

@copilot apply changes based on the comments in this thread

- data-formats.md: update GeoDataFrame to describe GeoArrow serialization
  (not legacy WKT), clarify datetime handling per widget vs HTML export
- data-formats.md: add missing imports (json, pandas, geopandas)
- README.md: add self-contained Quick Start with defined DataFrame
- README.md: remove _repr_html_() reference (method doesn't exist)
- widget-api.md: fix .add_data() params (name is optional, GeoDataFrame supported)
- save-and-export.md: remove _repr_html_() section (not implemented)
- config.md: fix Python syntax (add comma), remove Python 2 u'...' keys

Agent-Logs-Url: https://github.com/keplergl/kepler.gl/sessions/64b64399-59a2-44a3-b12d-e75806ff424c

Co-authored-by: lixun910 <2423887+lixun910@users.noreply.github.com>

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Author

@copilot apply changes based on the comments in this thread

All 10 review comments addressed in commit ca71a02:

  1. GeoDataFrame description – Updated to describe GeoArrow serialization (not legacy WKT/reprojection).
  2. Datetime handling – Clarified: GeoArrow preserves Arrow timestamps in widget; HTML export uses json_encoder=str.
  3. Missing imports – Added import json, import pandas as pd, and import geopandas as gpd to code snippets.
  4. Quick Start df – Replaced undefined df with a self-contained DataFrame example.
  5. README _repr_html_() – Removed reference (method not implemented).
  6. .add_data() params – Updated: name is optional (default "data"), GeoDataFrame listed as accepted type.
  7. _repr_html_() section – Removed entire section from save-and-export.md.
  8. Config syntax – Added missing comma after mapState dict.
  9. Python 2 u'...' keys – Replaced with Python 3 string literals.
  10. GeoDataFrame import – Switched geopandas.read_file to gpd.read_file with proper import.

@igorDykhta igorDykhta added the jupyter keplergl for Jupyter label May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jupyter keplergl for Jupyter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants