Skip to content

docs: update docs - #90

Merged
jamesbhobbs merged 26 commits into
mainfrom
docs-updates
Nov 3, 2025
Merged

jamesbhobbs merged 26 commits into
mainfrom
docs-updates

Conversation

@jamesbhobbs

@jamesbhobbs jamesbhobbs commented Oct 31, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Documentation

    • Added user guides for converting notebooks, the Deepnote file format, local setup, migrating to .ipynb, organizing notebooks, Deepnote in JupyterLab, VS Code extension guidance, and programmatic conversion examples.
    • Minor punctuation update to security guidance.
  • Chores

    • Expanded the spell‑check dictionary with additional technical terms to improve spell‑check coverage.

@coderabbitai

coderabbitai Bot commented Oct 31, 2025 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Adds multiple documentation pages (converting-notebooks, deepnote-format, local-setup, migrating-to-ipynb, organizing-notebooks, deepnote-in-jupyterlab, vscode-extension) and a package doc for programmatic conversion. Updates cspell.json word list with many new entries and makes a trivial punctuation change in SECURITY.md. No runtime/control-flow changes and no public API signatures modified.

Sequence Diagram(s)

sequenceDiagram
    participant Dev as Developer
    participant CLI as @deepnote/convert CLI
    participant Lib as @deepnote/convert Library
    participant FS as File System
    participant Out as .deepnote Output

    rect rgb(240,248,255)
    Dev->>CLI: run convert (single/multiple .ipynb)
    Dev->>Lib: call convertIpynbFilesToDeepnoteFile(paths, options)
    end

    rect rgb(255,250,240)
    CLI->>FS: read input .ipynb files
    Lib->>FS: read input .ipynb files
    FS-->>CLI: file contents / parse errors
    FS-->>Lib: file contents / parse errors
    end

    rect rgb(240,255,240)
    Lib->>Lib: map ipynb cells -> Deepnote blocks
    CLI->>Lib: reuse mapping logic
    Lib-->>Out: write .deepnote project file
    CLI-->>Out: write .deepnote project file
    end

    rect rgb(255,240,245)
    Lib-->>Dev: resolve Promise / throw Error
    CLI-->>Dev: exit status / print error
    end
Loading

Possibly related PRs

Suggested reviewers

  • saltenasl

Pre-merge checks

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title 'docs: update docs' is vague and generic, using non-descriptive language that fails to convey meaningful information about the changeset. While technically related to documentation changes, it provides no specificity about what documentation was updated or why. The actual changes include adding multiple new comprehensive documentation files covering topics like notebook conversion, Deepnote format, local setup, JupyterLab integration, and VS Code extensions, plus minor fixes to SECURITY.md and cspell.json. Revise the title to be more specific and descriptive. Consider titles like 'docs: add comprehensive guides for notebook conversion and local setup' or 'docs: add Deepnote format and integration documentation' that actually communicate the substance of the documentation updates.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 499860f and 5f2c598.

📒 Files selected for processing (2)
  • docs/deepnote-in-jupyterlab.md (1 hunks)
  • docs/vscode-extension.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,yml,yaml}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Prettier formatting for Markdown and YAML files

Files:

  • docs/deepnote-in-jupyterlab.md
  • docs/vscode-extension.md
🔇 Additional comments (2)
docs/deepnote-in-jupyterlab.md (1)

16-16: ✓ Prior feedback resolved.

Links correctly updated to absolute root-relative paths matching the suggested format from prior review.

Also applies to: 44-44

docs/vscode-extension.md (1)

116-118: Remove unresolved prior feedback: Python environment section.

This section was flagged for removal in prior review—Python interpreter selection is handled directly via VS Code's UI and doesn't require documentation here.

Apply this diff:

- ### Python environment
- 
- To select your Python interpreter, open the Command Palette with Ctrl/Cmd + Shift + P, type "Python: Select Interpreter", and choose your preferred Python environment from the list.
- 
- ---

Verify the spacing and layout after removal remains clean.


Comment @coderabbitai help to get the list of available commands and usage tips.

@jamesbhobbs jamesbhobbs changed the title docs: fix punctuation docs: update docs Oct 31, 2025
@codecov

codecov Bot commented Oct 31, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.24%. Comparing base (9e2746f) to head (5f2c598).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #90   +/-   ##
=======================================
  Coverage   95.24%   95.24%           
=======================================
  Files          25       25           
  Lines         715      715           
  Branches      207      207           
=======================================
  Hits          681      681           
  Misses         34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Oct 31, 2025
* docs: adding doc about converting notebook

* docs: adding doc about converting notebook

* docs: update

* docs: update of content and add example of programatic usage

* docs: update conversion

* Rename convert-programaticaly.md to convert-programmatically.md

* Fix typo in link to converter examples

* docs: update after converting

* docs: update

* docs: clarify sentence's scope ambiguity

* docs: add link to the package

* docs: fix links

* docs: call docs docs, examples would be runnable code

* docs: correct new link

---------

Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com>
Co-authored-by: James Hobbs <bjhobbs06@gmail.com>
Yggdrasill501 and others added 2 commits October 31, 2025 20:30
* docs: adding documentation about migrating to ipynb

* chore: adding kernelspec nbconvert papermill and Jupytext

* docs: replace link with documentation link

* docs: .d 2 .i

---------

Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com>
Co-authored-by: James Hobbs <bjhobbs06@gmail.com>
* docs: adding documentation about local set-up

* docs: fix duplicate links

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: adding words into cspell

* docs: fix with prittier

* docs: update table with comparison features

* chore: fix checks

* docs: update vsc v

* docs: add cursor

* docs: we do way more than initially claimed here

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com>
Co-authored-by: James Hobbs <bjhobbs06@gmail.com>
Comment thread docs/converting-notebooks.md Resolved
Comment thread docs/converting-notebooks.md Resolved
Comment thread docs/converting-notebooks.md Resolved
Comment thread docs/converting-notebooks.md Resolved
Comment thread docs/migrating-to-ipynb.md Resolved
Comment thread docs/migrating-to-ipynb.md Resolved
Comment thread docs/migrating-to-ipynb.md Resolved
Comment thread docs/migrating-to-ipynb.md Resolved
* docs: adding documentation about deepnote format

* chore: adding kernelspec to cspell

* docs: adding documentation about organizing notebook into projects (#83)

* docs: adding documentation about organizing notebook into projects

* chore: adding isnull dropna and pyplot to cspell

---------

Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com>

* chore: fix checks

* docs: rm duplicative content

---------

Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com>
Co-authored-by: James Hobbs <bjhobbs06@gmail.com>
Comment thread docs/deepnote-format.md Resolved
Comment thread docs/local-setup.md Resolved
Comment thread docs/local-setup.md Resolved
@jamesbhobbs

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 31, 2025

Copy link
Copy Markdown
Contributor
✅ Actions performed

Full review triggered.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 3

♻️ Duplicate comments (2)
docs/local-setup.md (1)

266-283: Resolve past feedback: Remove duplicate development setup section.

Dinohamzic previously flagged this section as redundant—development setup details should live in CONTRIBUTING.md with a link provided instead of inlining. This avoids maintenance burden and keeps the setup guide user-focused.

Verify that CONTRIBUTING.md covers the same content; if so, replace lines 266-283 with a link:

-### Development setup
-
-For developers who want to contribute or customize the toolkit:
-
-```bash
-# Clone the repository
-git clone https://github.com/deepnote/deepnote-toolkit.git
-cd deepnote-toolkit
-
-# Install dependencies
-poetry install
-
-# Run tests
-poetry run nox -s unit
-
-# Start development server
-poetry run deepnote-toolkit server
-```
+For development setup and contribution guidelines, see the [Contributing Guide](https://github.com/deepnote/deepnote-toolkit/blob/main/CONTRIBUTING.md).
docs/deepnote-format.md (1)

256-334: Resolve past feedback: Remove conversion section, link to dedicated guide.

Dinohamzic flagged content duplication with converting-notebooks.md. The "Converting between formats" section (lines 256-334) duplicates conversion workflows already documented in detail elsewhere. Consolidate by linking to the dedicated conversion guide and removing inline conversion instructions from this format reference.

Replace lines 256-334 with a pointer to the conversion guide:

-## Converting between formats
-
-### Jupyter to Deepnote
-
-Use the `@deepnote/convert` package...
-
-[conversion details...]
-
-### Deepnote to Jupyter
-
-Export from Deepnote to `.ipynb` format...
-
-[conversion notes...]
+## Converting between formats
+
+For detailed guidance on converting between Jupyter and Deepnote formats, see [Converting Notebooks](converting-notebooks.md) and [Migrating to Jupyter](migrating-to-ipynb.md).
📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between e31f9df and e9b6daa.

📒 Files selected for processing (8)
  • SECURITY.md (1 hunks)
  • cspell.json (1 hunks)
  • docs/converting-notebooks.md (1 hunks)
  • docs/deepnote-format.md (1 hunks)
  • docs/local-setup.md (1 hunks)
  • docs/migrating-to-ipynb.md (1 hunks)
  • docs/organizing-notebooks.md (1 hunks)
  • packages/convert/docs/convert-programmatically.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,yml,yaml}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Prettier formatting for Markdown and YAML files

Files:

  • docs/organizing-notebooks.md
  • packages/convert/docs/convert-programmatically.md
  • SECURITY.md
  • docs/converting-notebooks.md
  • docs/deepnote-format.md
  • docs/migrating-to-ipynb.md
  • docs/local-setup.md
🪛 markdownlint-cli2 (0.18.1)
docs/organizing-notebooks.md

97-97: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


103-103: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


109-109: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


115-115: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

packages/convert/docs/convert-programmatically.md

1-1: First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

🔇 Additional comments (3)
SECURITY.md (1)

5-5: LGTM. Minor punctuation refinement—no concerns.

cspell.json (1)

39-89: LGTM. Dictionary updates align with new documentation terminology—no concerns.

docs/migrating-to-ipynb.md (1)

1-132: LGTM. Well-structured export guide with practical examples and clear caveats. Past feedback appears incorporated.

Comment thread docs/converting-notebooks.md Resolved
Comment thread docs/organizing-notebooks.md Resolved
jamesbhobbs and others added 8 commits October 31, 2025 22:19
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
coderabbitai[bot]
coderabbitai Bot previously approved these changes Oct 31, 2025
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 3, 2025
@dinohamzic
dinohamzic self-requested a review November 3, 2025 12:02
dinohamzic
dinohamzic previously approved these changes Nov 3, 2025
@jamesbhobbs
jamesbhobbs marked this pull request as ready for review November 3, 2025 12:07
@jamesbhobbs
jamesbhobbs requested a review from a team as a code owner November 3, 2025 12:07
@jamesbhobbs

Copy link
Copy Markdown
Member Author

NB this isn't my work, I've tidied and merged together @Yggdrasill501 's docs.

Comment thread docs/deepnote-in-jupyterlab.md Resolved
Comment thread docs/deepnote-in-jupyterlab.md Resolved
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 3, 2025
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 3, 2025
Comment thread docs/vscode-extension.md Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants