THE GITHTML FIELD GUIDE
Build Jekyll documentation with the project's Bundler environment
Use the Jekyll version and plugins declared by the project's Bundler environment, then run a local build and inspect the output. Check configuration and Liquid processing before sharing the site. A development server is a useful preview, but its success does not prove the production artifact includes the same pages, paths, or environment-dependent content.
Inspect the bundle and build assumptions
Locate the Gemfile, lockfile, Jekyll configuration, and any project-specific build instructions. Confirm the Ruby environment and installed dependencies without replacing the project's versions with a global latest gem. Read plugin and template configuration as executable project behavior, especially in an unfamiliar repository. Some builds process data or invoke custom logic, so use an appropriate local environment and avoid unnecessary credentials. Identify the content root, destination, and environment variables that affect the result. Record these assumptions before troubleshooting a page that works for one maintainer but not another; dependency drift is a different problem from malformed Markdown.
Generate the artifact using the maintained toolchain
The sample invokes Jekyll through Bundler and writes to a clearly named local review directory. Confirm the destination is appropriate and does not contain hand-authored material before using it. Inspect build messages and compare the resulting files with the intended page set. If the build fails around Liquid syntax, reduce the failing source to a small fixture rather than changing unrelated theme code. Review representative layouts, includes, and data-driven pages. Do not treat a successful homepage as evidence that every collection or permalink behaves correctly. Keep the output distinct from any production deployment directory to avoid confusing review and release artifacts.
bundle exec jekyll --version
bundle exec jekyll build --destination _site-reviewCheck production meaning and distribution limits
Serve or inspect the generated output through the project's documented local review method. Follow nested routes, asset links, and links between collections. Confirm whether drafts, future content, or environment-specific sections were intentionally included. A site directory contains related files whose paths matter; an isolated HTML file may not retain its dependencies when moved elsewhere. If the goal is a portable reading copy, prepare and verify that separately. Record the command, source revision, reviewed pages, and remaining hosting assumptions in the handoff. This keeps the local build evidence precise without implying publication, access control, or complete offline behavior that was never tested. If the review uses a different configuration file from production, list every intentional difference. Otherwise a working local page may appear to validate a deployment configuration that was never exercised.
- Inspect the Gemfile, lockfile, plugins, and environment-specific configuration.
- Use the maintained bundle and a safe explicit review destination.
- Check representative layouts and collections as well as the landing page.
- Record publication scope and distinguish the full site from a portable document export.
Sources and further reading
AI-assisted writing with source-linked guidance and illustrative examples. Read our editorial approach or report a correction.