Skip to content

docs: adding examples for deepnote oss - #107

Closed
Yggdrasill501 wants to merge 6 commits into
mainfrom
filipzitny/mar-250-create-examples-for-open-source
Closed

Yggdrasill501 wants to merge 6 commits into
mainfrom
filipzitny/mar-250-create-examples-for-open-source

Conversation

@Yggdrasill501

@Yggdrasill501 Yggdrasill501 commented Nov 3, 2025 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Documentation
    • Guide for converting Jupyter notebooks into Deepnote projects via the CLI: prerequisites, quickstart commands, CLI options, opening the resulting project in Deepnote, and troubleshooting.
    • Getting-started guide for the Deepnote extension in Cursor: installation, opening/running notebooks, running code blocks, UI workflow, and feature highlights (IntelliSense, debugging, variable explorer).
    • Getting-started guide for Deepnote in VS Code: end-to-end workflow (data → features → training → evaluation), advanced editor features, and troubleshooting.

@linear

linear Bot commented Nov 3, 2025

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 3, 2025 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Adds three example README files under examples/: a guide to convert Jupyter notebooks to Deepnote projects using the deepnote-convert CLI, a Getting Started guide for using Deepnote within Cursor, and a Getting Started guide for using Deepnote within VS Code. Each README documents prerequisites, install/open steps, example commands and options (e.g., --projectName, --outputPath), how to open the resulting .deepnote in Deepnote or editors, troubleshooting notes (npx/global CLI, plain-text YAML), and next-step resources. No code, exported API, or manifest changes were introduced.

Sequence Diagram(s)

Conversion CLI flow (ipynb → .deepnote → open in Deepnote)

sequenceDiagram
  participant Dev as Developer (local)
  participant CLI as npx deepnote-convert
  participant FS as File System
  participant Deepnote as Deepnote App (web)

  Dev->>CLI: npx deepnote-convert EDA.ipynb --projectName X --outputPath .deepnote
  CLI->>FS: read EDA.ipynb
  CLI->>FS: write .deepnote/ (project bundle)
  CLI-->>Dev: exit (success or error)
  Dev->>Deepnote: import or drag-and-drop .deepnote/
  Deepnote-->>Dev: project opened
Loading

Editor integration flow (open/run Deepnote project in Cursor or VS Code)

sequenceDiagram
  participant User as User (local)
  participant Editor as Cursor/VSCode
  participant Ext as Deepnote Extension
  participant Runtime as Local/Remote Python runtime

  User->>Editor: open examples/* (contains .deepnote or YAML)
  Editor->>Ext: parse .deepnote / YAML
  Ext->>Editor: render blocks UI (run buttons, variables)
  User->>Ext: run block or run all
  Ext->>Runtime: execute code block(s)
  Runtime-->>Ext: outputs / status
  Ext->>Editor: display results (stdout, tables, charts)
Loading

Possibly related PRs

Suggested reviewers

  • jamesbhobbs
  • saltenasl

Pre-merge checks

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: adding examples for deepnote oss' directly and accurately summarizes the changeset. All three modified files are new documentation examples for Deepnote's open-source project: converting Jupyter notebooks, getting started in Cursor, and getting started in VS Code. The title is concise, uses a standard prefix convention, and clearly conveys the primary change.

📜 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 9e8398e and e443f6d.

📒 Files selected for processing (1)
  • examples/Getting started with Deepnote in VS Code/README.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:

  • examples/Getting started with Deepnote in VS Code/README.md
🪛 GitHub Actions: CI
examples/Getting started with Deepnote in VS Code/README.md

[error] 1-1: Prettier formatting issues detected. Run 'prettier --write' to fix formatting issues.

🪛 markdownlint-cli2 (0.18.1)
examples/Getting started with Deepnote in VS Code/README.md

26-26: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


304-304: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


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

@codecov

codecov Bot commented Nov 3, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.24%. Comparing base (1515e6b) to head (e443f6d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   95.24%   95.24%           
=======================================
  Files          25       25           
  Lines         715      715           
  Branches      210      207    -3     
=======================================
  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 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: 5

📜 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 3d73095 and 100a7bf.

📒 Files selected for processing (3)
  • examples/Converting any jupyter notebook into .deepnote/README.md (1 hunks)
  • examples/Getting started with Deepnote in Cursor/README.md (1 hunks)
  • examples/Getting started with Deepnote in VS Code/README.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:

  • examples/Getting started with Deepnote in Cursor/README.md
  • examples/Getting started with Deepnote in VS Code/README.md
  • examples/Converting any jupyter notebook into .deepnote/README.md
🪛 GitHub Actions: CI
examples/Getting started with Deepnote in Cursor/README.md

[error] 85-85: cspell: Unknown word 'sqft'.


[error] 121-121: cspell: Unknown word 'pathlib'.

examples/Getting started with Deepnote in VS Code/README.md

[error] 208-208: cspell: Unknown word 'proba'.


[error] 214-214: cspell: Unknown word 'elif'.

🪛 markdownlint-cli2 (0.18.1)
examples/Getting started with Deepnote in Cursor/README.md

24-24: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


32-32: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


234-234: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

examples/Getting started with Deepnote in VS Code/README.md

27-27: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


35-35: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


383-383: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

examples/Converting any jupyter notebook into .deepnote/README.md

44-44: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


54-54: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

🔇 Additional comments (2)
examples/Getting started with Deepnote in Cursor/README.md (1)

85-85: cspell flagged 'sqft' and 'pathlib' as unknown—likely false positives.

Both are valid: 'sqft' (domain term for square feet) and 'pathlib' (Python standard library). Consider adding to .cspellrc or leaving as-is.

Also applies to: 121-121

examples/Getting started with Deepnote in VS Code/README.md (1)

208-208: cspell flagged 'proba' and 'elif'—clear false positives.

'proba' is the scikit-learn method predict_proba() and 'elif' is a Python keyword. Safe to whitelist.

Also applies to: 214-214

Comment on lines +41 to +47
## Troubleshooting

- If `npx` is unavailable, install the CLI globally:
```bash
npm i -g @deepnote/convert
deepnote-convert EDA.ipynb -o EDA.deepnote
```

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.

⚠️ Potential issue | 🟡 Minor

Add blank lines around code fences per MD031.

Fenced code blocks need blank lines before opening fences. Apply this diff:

 - If `npx` is unavailable, install the CLI globally:
+
   ```bash
   npm i -g @deepnote/convert
   deepnote-convert EDA.ipynb -o EDA.deepnote

Open in VS Code with the Deepnote extension

  1. Install the extension
    • From Marketplace: search for "Deepnote" and install
    • Or via CLI:
  • ```bash
    code --install-extension deepnote.vscode-deepnote       # VS Code
    # cursor --install-extension deepnote.vscode-deepnote   # Cursor (optional)
    # windsurf --install-extension deepnote.vscode-deepnote # Windsurf (optional)
    ```
    




Also applies to: 49-58

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.18.1)</summary>

44-44: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

</details>

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

In examples/Converting any jupyter notebook into .deepnote/README.md around
lines 41-47 (and also lines 49-58), the fenced code blocks lack a blank line
immediately before the opening ``` which violates MD031; add a single blank line
before each opening fence and ensure each fenced block has a matching closing
fence on its own line, adjusting surrounding paragraphs so there is exactly one
blank line between the preceding text and the code fence (apply the same fix to
the block at lines 49-58).


</details>

<!-- This is an auto-generated comment by CodeRabbit -->

Comment on lines +24 to +30
**Option A: From Extensions Marketplace**

1. Open Cursor
2. Click the Extensions icon in the sidebar (or press `Cmd/Ctrl + Shift + X`)
3. Search for "Deepnote"
4. Click **Install** on the Deepnote extension
5. Wait for installation to complete

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.

⚠️ Potential issue | 🟡 Minor

Replace bold section headers with Markdown headings per MD036.

Lines marked with ** as headers should use #### for consistency. Apply this diff:

 ### Step 1: Install the Deepnote Extension

 Cursor supports VS Code extensions, making it easy to install Deepnote:

-**Option A: From Extensions Marketplace**
+#### Option A: From Extensions Marketplace

 1. Open Cursor
 2. Click the Extensions icon in the sidebar (or press `Cmd/Ctrl + Shift + X`)
 3. Search for "Deepnote"
 4. Click **Install** on the Deepnote extension
 5. Wait for installation to complete

-**Option B: From Command Line**
+#### Option B: From Command Line

 ```bash
 cursor --install-extension deepnote.vscode-deepnote

-Option C: From VSIX File (if provided)
+#### Option C: From VSIX File (if provided)

  1. Open Command Palette (Cmd/Ctrl + Shift + P)
  2. Type "Extensions: Install from VSIX..."




Also applies to: 32-36, 38-42

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.18.1)</summary>

24-24: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

</details>

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

In examples/Getting started with Deepnote in Cursor/README.md around lines 24 to
30 (and also apply the same change to lines 32-36 and 38-42), replace the bolded
header lines that currently use Option C: ... (and similar) with Markdown
heading level 4 (prepend "#### " to the header text) and ensure any adjacent
code snippets use proper fenced code block markers (bash and closing ) so
the install command is displayed correctly; update the three specified ranges
accordingly.


</details>

<!-- This is an auto-generated comment by CodeRabbit -->


---

**Happy coding with Deepnote in Cursor! 🚀**

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.

🧹 Nitpick | 🔵 Trivial

Consider converting closing line to Markdown comment.

Line 234 uses bold text as a sign-off. This triggers MD036; consider moving outside the document body or converting to a comment block if not needed as content.

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

234-234: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

🤖 Prompt for AI Agents
In examples/Getting started with Deepnote in Cursor/README.md around line 234,
the bold sign-off "**Happy coding with Deepnote in Cursor! 🚀**" triggers MD036;
replace it with a non-rendered Markdown comment (e.g., <!-- Happy coding with
Deepnote in Cursor! 🚀 -->) or move it outside the document body (such as into a
footer file or metadata) so it no longer appears as bold content in the README.

Comment on lines +27 to +33
**Option A: From extensions marketplace**

1. Open VS Code
2. Click the Extensions icon in the sidebar (or press `Cmd/Ctrl + Shift + X`)
3. Search for "Deepnote"
4. Click **Install** on the Deepnote extension
5. Wait for installation to complete

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.

⚠️ Potential issue | 🟡 Minor

Replace bold section headers with Markdown headings per MD036.

Apply same pattern as File 2:

 ### Step 1: Install the Deepnote extension

-**Option A: From extensions marketplace**
+#### Option A: From extensions marketplace

 1. Open VS Code
 2. Click the Extensions icon in the sidebar (or press `Cmd/Ctrl + Shift + X`)
 3. Search for "Deepnote"
 4. Click **Install** on the Deepnote extension
 5. Wait for installation to complete

-**Option B: From command line**
+#### Option B: From command line

 ```bash
 code --install-extension deepnote.vscode-deepnote




Also applies to: 35-39

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 markdownlint-cli2 (0.18.1)</summary>

27-27: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

</details>

</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

In examples/Getting started with Deepnote in VS Code/README.md around lines
27-33 (and also apply same change to lines 35-39), replace the bold section
header "Option A: From extensions marketplace" with a proper Markdown
heading (e.g., "## Option A: From extensions marketplace") and do the same for
the other bold headers to satisfy MD036; also convert the provided inline code
block examples to fenced code blocks using triple backticks for the bash command
shown and ensure consistent heading levels and spacing.


</details>

<!-- This is an auto-generated comment by CodeRabbit -->


---

**Build better data science workflows with Deepnote in VS Code! 🚀**

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.

🧹 Nitpick | 🔵 Trivial

Consider converting closing line to Markdown comment.

Line 383 uses bold as a sign-off, triggering MD036. Same approach as File 2.

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

383-383: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)

🤖 Prompt for AI Agents
examples/Getting started with Deepnote in VS Code/README.md around line 383: the
bold closing line "**Build better data science workflows with Deepnote in VS
Code! 🚀**" triggers MD036; change it into a Markdown comment by replacing the
bolded text with an HTML comment (e.g. <!-- Build better data science workflows
with Deepnote in VS Code! 🚀 -->) so the content is preserved but no longer
rendered or flagged by the linter.

Yggdrasill501 and others added 5 commits November 3, 2025 17:08
Removed keyboard shortcuts and troubleshooting sections from the README.
Updated instructions for opening the example project and removed troubleshooting section.
@Yggdrasill501 Yggdrasill501 self-assigned this Nov 4, 2025
@Yggdrasill501
Yggdrasill501 deleted the filipzitny/mar-250-create-examples-for-open-source branch November 6, 2025 15:20
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.

1 participant