René's URL Explorer Experiment


Title: docs: add public pages for the deepnote publish and sync CLI commands by jamesbhobbs · Pull Request #510 · deepnote/deepnote · GitHub

Open Graph Title: docs: add public pages for the deepnote publish and sync CLI commands by jamesbhobbs · Pull Request #510 · deepnote/deepnote

X Title: docs: add public pages for the deepnote publish and sync CLI commands by jamesbhobbs · Pull Request #510 · deepnote/deepnote

Description: Stacked on #508 — base is worktree-sync-publish-coordination, so the diff here is docs only. Rebase onto main once #508 merges. Why Neither deepnote publish nor deepnote sync had public documentation. deepnote sync is also easy to confuse with the in-product Deepnote file sync feature: the names collide, and nothing on the existing page distinguished them. What's here docs/deepnote-cli-publish.md — deploying a build directory to a project. Covers authentication and token safety, finding a project ID (matching the URL convention already documented in data-apps.md), the _deepnote_static target and --path with its percent-encoded URLs, --api-access and why it is off by default, --prune, the local-validation-then-remote-mutation ordering, exit codes, and the canonical URL the server returns. docs/deepnote-cli-sync.md — mirroring a workspace locally. Opens with the naming distinction, then covers the directory layout and .deepnote-sync.json, both sync directions and lost-update protection, --on-conflict including the non-TTY behavior, --all-files and the 100 MiB cap, the deletion rules in both directions, the safety rails (including why pruning is refused on a workspace mismatch), automation, and exit codes. Ends with a table for choosing between file sync, CLI sync, and publish. docs/deepnote-file-sync.md — a callout at the top distinguishing the in-product Git-linked feature from the CLI command, plus a Related section. Surgical: the existing content is unchanged. Both new pages cross-link each other and note that the two --prune flags share a name and point in opposite directions — remote for publish, local for sync. One deviation from the brief, flagged The brief asked to document the ownership rule as "sync --all-files ignores _deepnote_static/** after the conflict fix." That describes the exclusion approach (Option A) that was rejected in favour of "both work for both", and it is not what #508 does. Documenting it would have been wrong on the day it merged. What the pages document instead, matching #508: deepnote publish writes the static root. It is the deploy command and the only one that should author those files; its source of truth is the local build directory. deepnote sync mirrors it and never silently overwrites it. The per-file divergence check applies there like anywhere else, so a site republished since the last sync is surfaced as a conflict rather than reverted to an older local copy. A publish inside a synced workspace keeps the mirror in step, so the next sync does not see the deploy as drift. Same practical guidance — publish owns those files, sync will not clobber them — expressed as coordination rather than exclusion. Worth a look to confirm the framing reads the way you want before this leaves draft. Deliberately untouched docs/deepnote-mcp.md — waiting on the released manifest. docs/creating-apps.md, docs/streamlit.md, and also docs/scheduling.md, docs/export-pdf.md, docs/export-project.md — the last three are in #491's diff, so they are excluded too. No tool counts or unreleased capabilities. No plan-gating claims, since I could not verify them from the repo. Checks pnpm prettier:check and pnpm spell-check clean. Every /docs/ link in the three files verified against an existing page. 🤖 Generated with Claude Code Summary by CodeRabbit Documentation Added comprehensive guidance for using deepnote publish, including authentication, project permissions, API access, options, failure behavior, and exit codes. Added documentation for deepnote sync, covering workspace mirroring, bidirectional synchronization, conflicts, deletions, automation, and safety controls. Clarified the difference between in-product file sync and the deepnote sync CLI command. Added related resources for publishing, synchronization, file formats, and local setup.

Open Graph Description: Stacked on #508 — base is worktree-sync-publish-coordination, so the diff here is docs only. Rebase onto main once #508 merges. Why Neither deepnote publish nor deepnote sync had public documentati...

X Description: Stacked on #508 — base is worktree-sync-publish-coordination, so the diff here is docs only. Rebase onto main once #508 merges. Why Neither deepnote publish nor deepnote sync had public documentati...

Opengraph URL: https://github.com/deepnote/deepnote/pull/510

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:5965699d-5556-22c8-d9b7-f822305141e0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF40:CFC6D:7CFC96:A6A91E:6AEDC7A1
html-safe-nonceeb4a2aa998b62aa5be577331627b48ced5050aa742a2f98beb9017160dd22b5a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQwOkNGQzZEOjdDRkM5NjpBNkE5MUU6NkFFREM3QTEiLCJ2aXNpdG9yX2lkIjoiMTQ0NzIwNzQ1MTQzMjQzNzY2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9281aa3ce8a5a2fff3e537bc34bb7cee3b0dc1a61559da94a6d41d36938a609d
hovercard-subject-tagpull_request:4414837568
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
twitter:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
og:image:altStacked on #508 — base is worktree-sync-publish-coordination, so the diff here is docs only. Rebase onto main once #508 merges. Why Neither deepnote publish nor deepnote sync had public documentati...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec7d2f3ac4f4f560c56267b765892ba5b093e8a5fb2c0ed937edd8947746942e9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0cac2d0cb993b0ad48c49b076135ac558c742c30
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F510%2Fcommits%2F0e3076c66478cbed10a91ade2cc900d459aaff83
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F510%2Fcommits%2F0e3076c66478cbed10a91ade2cc900d459aaff83
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
Reloadhttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
Reloadhttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues14 (14)https://github.com/deepnote/deepnote/issues
Pull requests24 (24)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
tkislanhttps://github.com/tkislan
mainhttps://github.com/deepnote/deepnote/tree/main
docs/cli-publish-and-sync-pageshttps://github.com/deepnote/deepnote/tree/docs/cli-publish-and-sync-pages
Conversation 8 https://github.com/deepnote/deepnote/pull/510
Commits 9 https://github.com/deepnote/deepnote/pull/510/commits
Checks 20 https://github.com/deepnote/deepnote/pull/510/checks
Files changed https://github.com/deepnote/deepnote/pull/510/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
docs: add public pages for the deepnote publish and sync CLI commands https://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83#top
Show all changes 9 commits https://github.com/deepnote/deepnote/pull/510/files
558e4bf fix(cli): let sync and publish share one baseline for project files jamesbhobbs Sep 1, 2026 https://github.com/deepnote/deepnote/pull/510/commits/558e4bf4a10e16ebe05b402d447aba1fef4e1b9c
9e653a4 Merge branch 'main' into worktree-sync-publish-coordination jamesbhobbs Sep 1, 2026 https://github.com/deepnote/deepnote/pull/510/commits/9e653a446b94c16fe8cbae25158b46d6c50d0332
54e93d3 docs: add public pages for the deepnote publish and sync CLI commands jamesbhobbs Sep 1, 2026 https://github.com/deepnote/deepnote/pull/510/commits/54e93d30cdd87d8a631c88656c6c4e8c25dc0313
61ba8f1 Merge branch 'worktree-sync-publish-coordination' into docs/cli-publi… jamesbhobbs Sep 1, 2026 https://github.com/deepnote/deepnote/pull/510/commits/61ba8f1190190e0ae0916d7352fa607da2e4ff49
f7980cb docs: correct the access model for published static sites jamesbhobbs Sep 1, 2026 https://github.com/deepnote/deepnote/pull/510/commits/f7980cba25cb3f611cd7c2e62e8b8f38b4d4df85
d2e6e70 Merge remote-tracking branch 'origin/docs/cli-publish-and-sync-pages'… jamesbhobbs Sep 1, 2026 https://github.com/deepnote/deepnote/pull/510/commits/d2e6e708758677292ff1ad2f68958b1e278abfff
6059312 Merge branch 'main' into docs/cli-publish-and-sync-pages tkislan Sep 4, 2026 https://github.com/deepnote/deepnote/pull/510/commits/60593121ef222455675619792cc15815c5c66493
7aa8c0a docs(publish): narrow the DEEPNOTE_TOKEN exposure claim jamesbhobbs Sep 9, 2026 https://github.com/deepnote/deepnote/pull/510/commits/7aa8c0a73197d9a5fccb60016383f3e35363f055
0e3076c Merge branch 'main' into docs/cli-publish-and-sync-pages jamesbhobbs Sep 9, 2026 https://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
Clear filters https://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
Please reload this pagehttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
Please reload this pagehttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
Prev https://github.com/deepnote/deepnote/pull/510/commits/7aa8c0a73197d9a5fccb60016383f3e35363f055
Please reload this pagehttps://github.com/deepnote/deepnote/pull/510/commits/0e3076c66478cbed10a91ade2cc900d459aaff83
https://github.com/jamesbhobbs
jamesbhobbshttps://github.com/deepnote/deepnote/commits?author=jamesbhobbs
view the diff.https://github.com/deepnote/deepnote/commit/0e3076c66478cbed10a91ade2cc900d459aaff83
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.