Spanish legislation as Markdown files. One file = one law. One folder = one jurisdiction. es/ # State legislation (8,642 laws) es-an/ # Andalucía es-ar/ # Aragón es-as/ # Asturias es-cb/ # Cantabria es-cl/ # Castilla y León es-cm/ # Castilla-La Mancha es-cn/ # Canarias es-ct/ # Cataluña es-ex/ # Extremadura es-ga/ # Galicia es-ib/ # Illes Balears es-mc/ # Murcia es-md/ # Madrid es-nc/ # Navarra es-pv/ # País Vasco es-ri/ # La Rioja es-vc/ # C. Valenciana
Every file has YAML frontmatter + Markdown body:
---
titulo: "Ley 11/2019, de 20 de diciembre, de Cooperativas de Euskadi"
identificador: "BOE-A-2020-615"
pais: "es"
jurisdiccion: "es-pv"
rango: "ley"
fecha_publicacion: "2020-01-16"
ultima_actualizacion: "2025-01-14"
estado: "vigente"
fuente: "https://www.boe.es/eli/es-pv/l/2019/12/20/11"
---Every reform = one commit with the real BOE publication date. Commit messages include affected articles and link to official source. Use git log and git diff to trace legal history.
Constitución Española → es/BOE-A-1978-31229.md Código Penal → es/BOE-A-1995-25444.md Estatuto de los Trabajadores → es/BOE-A-2015-11430.md
-For specific law questions → read the file directly -For keyword search → use grep across folders -For legal history → use git log + git diff on the file -For cross-jurisdiction comparison → read same-topic files from different folders -For recent changes → git log --since="X days ago" filtered by folder -Always cite the source file and article number in your answers -Always note ultima_actualizacion from frontmatter — law may have changed -Never invent legal content — only use what's in the files