- gitmoji + imperative verb, ≤72 chars first line. Why-over-what in body.
- Examples from this repo:
♻️ Consolidate style guide pages,📝 Add naming conventions for functions and methods.
| Layout | Required |
|---|---|
page |
layout, title, tagline, description |
post |
layout, title, author, tags |
Post filenames: YYYY-MM-DD-slug.md in _posts/. Tags are space-separated ids from _data/tags.yml.
_data/navigation.yml— top-level nav links. Add new pages here._data/tags.yml— tag taxonomy. New tags must be added here before use._config.yml— Jekyll config. Collections enabled:guia_de_estilo,protocolo_avanzado..config/wordlist-es.txt— Spanish aspell custom dictionary. Add new technical terms here. Encoding: The first line must containutf-8(personal_ws-1.1 es N utf-8).aspell-esdefaults toiso8859-1; the suffix overrides it..config/wordlist-en.txt— English aspell custom dictionary. Add new English terms here. Format: First line:personal_ws-1.1 en N utf-8whereNis the word count.
- Docker only. No local Ruby needed.
make start— build + serve. Visit http://localhost:4000.make down— stop the dev server.- Quirk:
make servehas a missing space in the volume mount (jekyll\->jekyll\). Runmake buildfirst ifmake servefails.
make checkruns style and spellcheck via Docker. Requires Docker.src/check_style.sh— validates line endings (.,:,?) and ≤25 words per line in_posts/*.md. Quirk: does not skip fenced code blocks — lines inside ``` blocks are also checked.src/check_spelling.sh— runsaspellagainst_posts/*.mdusing.config/wordlist-es.txt(Spanish) or.config/wordlist-en.txt(English, for*_en.mdposts).Dockerfile— minimal Ubuntu image withaspell,aspell-en,aspell-es, andmake.
When fixing legacy posts that exceed the 25-word line limit:
- One sentence per line. No hard-wrapping mid-sentence.
- ≤30 words: try shortening first (trim filler words, redundant phrases).
- 31+ words: split at a conjunction or natural clause boundary.
- Both split parts must be complete sentences. Prepositional phrases alone ("Para los nombres...") are not sentences.
- Do not split paired structures:
no sólo...sino también,tan...como. Shorten instead. - Pre-push hook rejects pushes with violations. Use
git push --no-verifyfor legacy content that is being fixed incrementally.
.pipelines/init.sh— configurescore.hooksPath .githooksto activate the pre-push hook..githooks/pre-push— runsmake checkbefore every push; rejects if checks fail. Activate withbash .pipelines/init.sh.
.github/workflows/actions.yml builds the Docker image and runs make check on every push.
- Posts and docs: Spanish. Code and filenames: English (snake_case).
- Prefer Python and R. Do not reference MATLAB.
- Allowed abbreviations:
sst,eez,lon,lat,x,y,X,Y.
../bycatch_thesis/src/*.Ris the reference codebase for scripts conforming to the conventions in STYLEGUIDE.md. When creating new R scripts, consult these files for real-world examples of Spanish section markers, imperative comments, and Tidyverse style.
- Only plain text committed (CSV, JSON, SVG, TEX, TXT). No binary files >256 px.
- No tests directory — this is a Jekyll site, not a library.
- No GitFlow.
- STYLEGUIDE.md at
_guia_de_estilo/STYLEGUIDE.mdis the single source of truth for conventions. When it subsumes other pages, preserve unique content as blog posts, delete redundants, remove cross-references.