Unit 06 · lesson
Read Build Output Before Editing Random Files
A terminal error is not punishment.
It is evidence from the build system.
Build cleanly
Run:
bundle exec jekyll build
Read the complete output once.
Identify:
- source path;
- destination path;
- environment if shown;
- regeneration/build status;
- warnings;
- errors.
Error-first discipline
When a build fails:
- capture the first relevant error;
- identify the named file/path/line if provided;
- classify the stage;
- change one thing;
- rebuild.
Do not scroll to the last stack-trace line and edit whatever filename looks familiar.
Warning vs failure
A warning can matter without stopping the build.
Record whether the command exited successfully and whether output was generated.
Build output is not the only evidence
A successful terminal result does not prove:
- every link works;
- every image loads;
- metadata is correct;
- page content is semantically correct.
It proves a narrower claim:
Jekyll completed the build according to the current inputs/configuration.
Checkpoint
Save one successful build log excerpt and annotate what each meaningful line proves — and what it does not prove.