Skip to content

feat: generate memcachejs.org site with Docula - #104

Merged
jaredwray merged 4 commits into
mainfrom
cursor/memcachejs-docula-site-c3b6
Aug 14, 2026
Merged

feat: generate memcachejs.org site with Docula#104
jaredwray merged 4 commits into
mainfrom
cursor/memcachejs-docula-site-c3b6

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature / docs: generate the memcachejs.org documentation site with Docula.

Summary

Docula already had a site/ skeleton (logo, favicon, theme). This completes it into a production site for https://memcachejs.org:

  • Single landing page at / that renders the project README.md via autoReadme: true
  • Leading README logo is stripped at build time so it is not duplicated by the site header (onAutoReadme)
  • Changelog pages generated from GitHub releases
  • llms.txt / llms-full.txt, sitemap, and robots.txt
  • deploy-site workflow publishes site/dist to Cloudflare Pages on release or manual dispatch

Review follow-ups

  • Set persist-credentials: false on checkout (Aikido)
  • Install wrangler as a local devDependency (with workerd allowed in allowBuilds) and deploy with pnpm exec wrangler instead of cloudflare/wrangler-action (Bugbot)

Local commands

  • pnpm website:build — production build to site/dist
  • pnpm website:dev — watch + serve
  • pnpm website:serve — serve an existing build

Cloudflare Pages project name is memcache. The workflow needs CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID repository secrets, and memcachejs.org DNS pointed at that Pages project.

Open in Web Open in Cursor 

Build a multi-page documentation site from the project README, pull the
changelog from GitHub releases, and deploy to Cloudflare Pages on release.

Co-authored-by: Jared Wray <me@jaredwray.com>
@socket-security

socket-security Bot commented Aug 14, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addeddocula@​2.2.07910010095100
Addedwrangler@​4.122.0981009296100

View full report

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4a0c891) to head (44064a8).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #104   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines         1399      1399           
  Branches       308       308           
=========================================
  Hits          1399      1399           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Render the project README via autoReadme instead of multi-page docs,
and strip the leading logo so it is not duplicated by the site header.

Co-authored-by: Jared Wray <me@jaredwray.com>
@jaredwray
jaredwray marked this pull request as ready for review August 14, 2026 17:43

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4a45613. Configure here.

Comment thread .github/workflows/deploy-site.yaml Outdated
cursoragent and others added 2 commits August 14, 2026 17:52
Disable checkout credential persistence and deploy with npx wrangler so
pnpm 11 does not fail installing workerd and sharp lifecycle scripts.

Co-authored-by: Jared Wray <me@jaredwray.com>
Add wrangler to devDependencies, allow workerd postinstall scripts, and
deploy with pnpm exec wrangler from the existing install.

Co-authored-by: Jared Wray <me@jaredwray.com>
@jaredwray
jaredwray merged commit 589c733 into main Aug 14, 2026
14 checks passed
@jaredwray
jaredwray deleted the cursor/memcachejs-docula-site-c3b6 branch August 14, 2026 17:59
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.

2 participants