Skip to content

Document deploying a site to deed.page - #2928

Open
f-o-x11 wants to merge 1 commit into
MarkBind:masterfrom
f-o-x11:docs/deploy-deed-page
Open

f-o-x11 wants to merge 1 commit into
MarkBind:masterfrom
f-o-x11:docs/deploy-deed-page

Conversation

@f-o-x11

@f-o-x11 f-o-x11 commented Nov 24, 2026 •

Copy link
Copy Markdown

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • Feature addition or enhancement
  • Code maintenance
  • DevOps
  • Improve developer experience
  • Others, please explain:

Overview of changes:

Adds a short "Deploying to deed.page" section to the User Guide's Deploying the Site page, after the Netlify section. It covers authors who want a shareable link for a course or tutorial site without setting up a repository or CI.

Disclosure: I'm on the deed.page team. The upload script used in the section is the one documented at https://deed.page/docs; the agent skill and its source are at https://github.com/f-o-x11/deed-page-skill. Happy to trim or reword the section, or drop it if a third host doesn't fit this page.

Anything you'd like to highlight/discuss:

  • A fresh markbind init site is 136 files, about 7 MB (4.4 MB as a tarball) with MarkBind 7.2.1, which is over deed.page's 4 MB per-request limit. That is why the section uses the upload script, which uploads the files individually, rather than a one-line curl upload. A no-script upload of that tarball gets a 413.
  • The script has to be saved outside the site root. I first saved it in the root and the next markbind build copied publish-large.mjs into _site, so the section downloads it to ~ and says why.
  • markbind build --baseUrl is used for the same reason as in the Netlify section: the site is served from the root of its own subdomain.

Testing instructions:

  1. cd docs && markbind serve (or markbind build) and open User Guide → Deploying the Site → Deploying to deed.page.
  2. To try the steps themselves: markbind init mysite && cd mysite, then run the commands in the section.

What I ran (markbind-cli 7.2.1, Node 24):

  • markbind init, markbind build --baseUrl, then the two commands exactly as written. The publish returned the site URL on the last line (136 files). Home page, topic pages, CSS and JS all returned 200 and an unknown path returned 404. In headless Chrome the pages rendered with the navbar and site nav and no page errors.
  • Edited index.md, rebuilt and ran the same node command again. It updated the site to version 2 using the token saved in ~/.config/deed-page/token, and the new text was live. _site did not contain the script.
  • Deleted the test site afterwards (it now returns 404).
  • Built this repo's docs/ with markbind-cli 7.2.1 and checked the new section renders (anchor #deploying-to-deed-page). The only build errors were the existing PlantUML diagrams, because Java isn't installed on my machine; they are not related to this change.

Proposed commit message: (wrap lines at 72 characters)

Document deploying a site to deed.page


Checklist: ☑️

  • Updated the documentation for feature additions and enhancements
  • Added tests for bug fixes or features
  • Linked all related issues
  • No unrelated changes

This branch has not been deployed

No deployments
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