Jekyll for the Webship Workspace dashboard: a builder that makes a static site with Jekyll on the official Ruby image, serves the site it builds, and builds it again on request; the step pack for Jekyll sites wired into the testing setup of such a project; and its AI items — two agents, a skill, a command and two prompts for building and testing Jekyll sites — each listed in the workspace folder of its kind.
-
The demo site, made at the site's first start:
jekyll newwith its default theme (minima 2.5.2), then made-up notes of a made-up field station (jekyll-demo-site.sh, the step pack's own demo script): five posts, three to a page with a pager, a draft, a post dated in the future and a post withpublished: false(all three must stay off the site), an about page, its own not-found page and icon, an Atom feed and a sitemap.--plainmakes a barejekyll newsite instead. Nothing ofjekyll newships with the plugin. -
The official Ruby image, by digest:
Jekyll line Ruby Image 4.4.1 (the default) 3.4.13 docker.io/library/ruby@sha256:b9ca1b2b1f19a50b4f496c5c3af813151dd03a19ee053c157c4ee569c1e581bb4.3.4 ( --line 4.3.4)3.4.13 the same -
The site's gems in the image, no compilers kept: Jekyll of the line, minima, jekyll-feed, jekyll-seo-tag, jekyll-sitemap, jekyll-paginate, csv and base64 (the versions the step pack's demo is proven with) are installed into the image (
/opt/webship-jekyll/gems) in one RUN that installs the build tools, compiles the gems' C extensions (eventmachine, http_parser.rb, bigdecimal) and purges the build tools again. The runtime layer's generic stack takes one Dockerfile fragment on one stage, so the build tools leave in the same layer instead of a stage of their own. -
Built for the project's address: every build reads
_config.yml, then.webship-jekyll/_config.workspace.yml, which holds the project's address asurl: the feed, the sitemap and the canonical addresses carry it. -
On DDEV, DDEV's own nginx serves the built site (
site/_site, the project's docroot), with the plugin's own nginx config (.ddev/nginx_full/nginx-site.conf, no DDEV mark, so DDEV keeps it): static files, and an address the site does not have answered with its own404.htmland the status 404. Ruby's programs, library and headers are copied into DDEV's web container from the official image (both are Debian 12), and a daemon makes and builds the site at each start. -
On Docker Compose, Podman and Kubernetes, the runtime layer's generic stack on the official Ruby image: its start builds the site, then serves
site/_sitewithjekyll serve --no-watch --skip-initial-buildas its main process.
An edit to the site's source shows on the site only once the site is built again:
bash cmd-jekyll-rebuild.sh <name> # build it again, once
bash cmd-jekyll-watch.sh <name> # build it again on every change of its files, until Ctrl-C: run it in a screenBoth run in the project's container (jekyll build, or jekyll build --watch), on every runtime, through the
runtime's own exec. A start builds the site too. A screen closed without Ctrl-C leaves the watch running in the
container (the runtime's exec does not pass the close on): a new watch ends the one that runs, and
bash cmd-jekyll-watch.sh <name> --stop ends it and starts none.
Jekyll's last release is 4.4.1, of 2025-01-29; there has been none since. The repository is maintained: it has commits up to 2026-10. The builder covers the two lines in use, 4.4.1 and 4.3.4. Ruby 3.4.13 is the Ruby both are proven on here; the step pack's CI also runs 4.4.1 on Ruby 4.0.10.
Ruby 3.4 no longer ships csv and base64 as default gems. Jekyll 4.3.4 loads csv itself, and its safe_yaml
dependency loads base64, so on Ruby 3.4 a 4.3.4 site stops at its first build with cannot load such file -- csv.
The builder installs both into the image and adds both to the site's Gemfile, on both lines (harmless on 4.4, which
declares what it needs).
Jekyll is MIT, Ruby is BSD-2-Clause or Ruby's own licence. The plugin carries no code of either: the image installs Jekyll and the site's gems from rubygems.org.
cd ~/workspace
bash core/scripts/plugins.sh --require jekyll --with-needs # npm install into the dashboard
bash core/scripts/plugins.sh --activate jekyll --with-needs # plugins.jekyll in settings.yml
bash core/scripts/plugins.sh --install jekyll # the builder and its commands, functions, args, AI items
bash core/scripts/plugins.sh --configure jekyll # nothing to configure: it has no settings fileThe same four steps are buttons on the dashboard's Settings → Plugins page.
| What | Lands in |
|---|---|
cmd-jekyll-project.sh, cmd-jekyll-rebuild.sh, cmd-jekyll-watch.sh |
every active sites folder: dev/, test/, sandboxes/, demos/ |
The agents jekyll-builder, jekyll-tester |
ai-agents/ |
The skill jekyll-scenarios |
ai-skills/ |
The command /jekyll-test |
ai-commands/ |
The prompts jekyll-build-and-test, jekyll-scenarios-for-a-project |
ai-prompts/ |
A workspace starts empty, so the manifest says what else this plugin needs (needs):
- one sites folder, for the builder:
dev,test,sandboxes,demos(devis the one added when none is there). ai-agents,ai-skills,ai-commandsandai-prompts: the AI folders its items are placed in.- Webship Workspace 1.0.60 or newer: the site's containers are capped through the core's runtime layer (
rt_memory: web 512 MB everywhere, and off DDEV the generic stack's mail catcher 128 MB). An older workspace is told so before anything is made.
Everything the site does runs in its container, through the container tool the workspace already needs.
| Path | What it is |
|---|---|
commands/cmd-jekyll-project.sh |
The builder, in the Build list as Jekyll (static site generator) |
commands/cmd-jekyll-rebuild.sh |
Build a project's site again |
commands/cmd-jekyll-watch.sh |
Build a project's site again on every change, until stopped (for a screen) |
scripts/functions/fun-jekyll.sh |
The bash functions behind them; the names the core's tools look for (set_jekyll_users, add_jekyll_users, cancel_jekyll_users, testing_configure_jekyll, jekyll_is_project) |
scripts/args/arg-jekyll.sh, scripts/args/arg-jekyll-rebuild.sh |
Their argparse; the Build form draws the builder's flags from it |
scripts/jekyll-demo-site.sh |
The demo site made at the first start (the step pack's own demo script) |
scripts/jekyll-start.sh |
The site's start in its container: made once, built, then served (off DDEV) or left to nginx (on DDEV) |
scripts/jekyll-build.sh |
A build of the site for its own address (--watch keeps building) |
testing/site.feature |
The first feature a project gets when testing is set up |
ai/ |
The agents, the skill, the command and the prompts |
src/index.ts |
register(api): what the assistant is told about Jekyll here |
features/jekyll.feature, features/jekyll-runtimes.feature |
Scenarios for the dashboard's own browser suite |
cd ~/workspace/dev
bash cmd-jekyll-project.sh notes --install # the demo site, Jekyll 4.4.1, at https://notes.ddev.site
bash cmd-jekyll-project.sh notes --install --line 4.3.4 # the line before
bash cmd-jekyll-project.sh notes --install --plain # a bare jekyll new site
bash cmd-jekyll-project.sh notes --install --runtime docker # on Docker Compose (or podman, kubernetes)The builder deletes a project of the same name first. The project's folder holds site/ (the site's source; what is
served is site/_site/) and .webship-jekyll/ (0700: the builds' settings, the site's address for its builds, the
start and build scripts, and gems/ for gems the site adds).
Add it to site/Gemfile (a Jekyll plugin also under plugins: in _config.yml), and build again: the gems the image
has are taken first, and what the site adds is installed into the project (.webship-jekyll/gems). The image keeps no
compilers, so a gem with a C extension does not install: build the project again with the gem added to the image, or
pick a gem without one.
A static site has no database (DDEV's db is omitted): the row's Backup archives the project's folder, and Restore puts
it back and starts it, which builds the site again. The archive holds site/_site/ and .webship-jekyll/gems/ too,
which a build makes again: the core has no list of paths a plugin can leave out of a backup yet
(webship/workspace#1041). Leaving them out is for when it has.
bash cmd-tools-testing.sh notes # webship-js, the step pack, the site's address, a first feature
bash cmd-tools-testing.sh notes --runThe testing hook (testing_configure_jekyll) adds @webship-js/jekyll-steps to the project's package.json, its step
definitions to cucumber.js after webship-js's own, the project's address as the launch URL, the pack's settings (the
feed's and sitemap's paths, the crawl's caps: 200 pages, 120 s), and tests/features/site.feature. The pack only reads
the site, so the suite needs nothing but the site's address: it runs the same in the core's tests container on every
runtime. Build the site again before a run when its source has changed.
| Runtime | The address | Proven with this builder |
|---|---|---|
| DDEV (the default) | https://<name>.ddev.site |
Yes: the step pack 9/9, its must-fail check (17; the two that need a second name for the site are for a site on this machine), the first feature 2/2 twice, the testing hook, the rebuild (a new post served after it) and the watch (a post added while watching served 2 s later; a new watch ends the old one; --stop), a backup restored (no database), a stop and start, and a first start again from no site; the web container capped at 512 MB by rt_memory (the site's own memory 55 MiB, the rest page cache); the first start 143 s (the image's gems compiled), a start after a restore 32 s |
Docker Compose (--runtime docker) |
http://127.0.0.1:<port> |
Yes: the step pack 9/9 twice, its must-fail check 19/19, the rebuild and the watch (--stop), a backup restored, a stop (0.5 s) and start; web 512 MB and the stack's mail catcher 128 MB by rt_memory; the image 379 MB, with no compiler in it (gcc, cc, make, g++ absent); the site's first start 20 s; a peak of 236 MiB, 41 MiB of it the site's own |
Podman (--runtime podman) |
http://127.0.0.1:<port> |
Yes: the same as Docker Compose; web 512 MB and mail 128 MB by rt_memory; a stop in 0.7 s; the site's first start 16 s; a peak of 227 MiB, 42 MiB of it the site's own |
Kubernetes (--runtime kubernetes) |
http://<node address>:<NodePort> |
Yes (kind): the step pack 9/9, its must-fail check (17; the two that need a second name for the site are for a site on this machine), the rebuild and the watch (--stop), a backup restored, a stop (0.1 s) and start; the pod limited to 512 MiB by rt_memory, before and after; the site's first start 11 s; a peak of 150 MiB, 38 MiB of it the site's own |
Each proof built 4.4.1 on core 1.0.60; the step pack's suite ran from this machine against the project's address. The
first kind run found that a site's first bundle install with no lock resolved for every platform from rubygems.org
(186 MB on DDEV, 518 MB in the pod: killed by its 512 MiB limit, the pod's own, the host untouched): every install now
takes the image's gems first with nothing fetched (bundle install --local), and asks rubygems.org only for a gem the
site adds; the proofs above were run again with it.
Lando and Docksal are runtimes of the workspace too, not proven with this builder yet: it says so and stops, before anything is made.
A static site has no users: cmd-tools-add-users.sh <name> jekyll and cmd-tools-cancel-users.sh <name> jekyll say
so and change nothing.
| Item | Kind | What it is for |
|---|---|---|
jekyll-builder |
agent | Builds and fixes Jekyll sites: the site, its posts and gems, a build that fails |
jekyll-tester |
agent | Writes and runs scenarios with the step pack |
jekyll-scenarios |
skill | The step pack's phrases, the rules that keep a suite green, four example features |
/jekyll-test <project> |
command | Sets the pack up when missing, builds the site again, matches every step, runs, reports |
jekyll-build-and-test |
prompt | Builds a Jekyll site and proves it |
jekyll-scenarios-for-a-project |
prompt | Writes and runs scenarios for what a site publishes and leaves out |
Every item says the workspace is container-based (DDEV by default), and the agents and the skill send the reader to the book Automated Functional Testing Recipes first.
Feature: What the notes site publishes
Scenario: The listing, and what stays off the site
Given I am on the homepage
Then the static site should list the posts "The first gale", "The swifts leave" and "A spring tide" in this order
And the static site's pager should say page 1 of 2
And the static site should not publish the draft "A draft about the heron"
And the static site should not publish the post "A note kept back" at "/2026/11/05/a-note-kept-back/"
And every internal link of the static site should answer 200, skipping off-site and fragment-only linksnpm install
npm test # builds, then the unit tests: the manifest, the scripts, the AI items, the needs
npm run lint # the TypeScript compiler, no outputCI runs the same on Node.js 24 and 26, checks that every shell script parses, and runs the plugin's webship-js
features against a dashboard with the plugin installed (featuresSite:
cmd-jekyll-project.sh ci-jekyll --install --runtime docker).
ISC (see LICENSE). The package carries no code of Jekyll or Ruby.
The logo is Simple Icons' Jekyll icon (icons/jekyll.svg of simple-icons 16.39.0), in the colour the set lists for it
(#CC0000); its path is unmodified. Simple Icons takes it from Jekyll's brand repository
(github.com/jekyll/brand), whose logo files are licensed under the
Creative Commons Attribution 4.0 International License: the Jekyll logo
by the Jekyll project, CC BY 4.0; the colour is set on the path, nothing else is changed. It is not covered by this
package's licence.
Jekyll and the Jekyll logo belong to the Jekyll project. This project is not endorsed by or affiliated with Jekyll or its maintainers.