Repository navigation
docs: update docs - #90
Conversation
📝 WalkthroughWalkthroughAdds 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
Possibly related PRs
Suggested reviewers
Pre-merge checks❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**/*.{md,yml,yaml}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🔇 Additional comments (2)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
* 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>
* 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>
* 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>
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
There was a problem hiding this comment.
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.
📒 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.mdpackages/convert/docs/convert-programmatically.mdSECURITY.mddocs/converting-notebooks.mddocs/deepnote-format.mddocs/migrating-to-ipynb.mddocs/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.
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>
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
|
NB this isn't my work, I've tidied and merged together @Yggdrasill501 's docs. |
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
8f0ccd9
Co-authored-by: Dino Hamzić <dino@subtlebits.com>
Summary by CodeRabbit
Documentation
Chores