2.9 KiB
AGENTS.md — Family Fed Ireland website
This file tells any AI coding assistant how to work on this website. Read it before making changes.
What this is
A static replica of the Family Fed Ireland website (familyfed.ie). It is a plain static site: HTML, CSS, JavaScript and image assets with no build step and no dependencies. The files in this repo are served to visitors exactly as they are committed — what you see locally is what goes live.
The replica is served at https://familyfed.bcgen.ie.
Repo map
| Path | What it is |
|---|---|
index.html |
Home page |
*/index.html |
Public pages and archives; folder names are live URL paths |
blog/ |
Mirrored blog archive, category, tag, and dated pages |
wp-content/ |
WordPress-style theme, plugin, upload, font, image, CSS, and JS assets |
wp-includes/, wp/, cdn-cgi/ |
Legacy static support paths referenced by the exported pages |
docs/ |
Maintainer notes and site-structure documentation |
.forgejo/ |
Deploy automation — do not touch (see "Guardrails") |
Treat top-level content folders as production URLs. Do not move or rename them unless redirects are planned outside this repo.
Preview through a local web server, not by opening the .html file directly, so
that absolute links (e.g. /css/style.css) resolve.
The workflow (follow this every time)
1. Make changes on a branch
Never edit main directly. Start from an up-to-date main and create a branch:
git checkout main && git pull
git checkout -b describe-your-change
2. Preview locally before shipping
From the repo root, start a local server and open it in a browser:
python3 -m http.server 8000
# then open http://localhost:8000
Visually check every page you touched. Do not ship a change you have not previewed.
3. Open a pull request into main
When it looks right, commit, push the branch, and open a PR targeting main:
git add -A
git commit -m "Describe your change"
git push -u origin describe-your-change
4. Merge to publish
Merging the PR into main triggers automatic deployment. The live site at
https://familyfed.bcgen.ie updates within about a minute. There is nothing else
to run or deploy.
Guardrails
- Keep it dependency-free static HTML/CSS/JS. No frameworks, bundlers, or build tools — anything added to the repo is served raw.
- Never edit
.forgejo/or anything related to deployment/hosting. That is managed separately; changing it can break publishing. - Keep new images in
assets/, prefer modern formats (.webp/.avif) where possible, and keep them reasonably small so pages load fast. - After editing, check that internal links and images still resolve (you'll catch this in the local preview).
- Match the existing style and reuse the classes already defined under
css/rather than inventing new patterns.