Skip to content

Repository files navigation

build

anjos.ai

Source for anjos.ai, André Anjos' professional website. Built with Hugo and a bespoke theme, rebuilt and redeployed to GitHub Pages on every push to main.

Adding or editing content? Read AGENTS.md — it is the authoritative guide, for humans and for LLM agents alike.

Local development

Everything runs through pixi, which provides Hugo, Python and the checkers:

pixi install
pixi run serve      # local preview at localhost:1313, drafts included

Gates

One command has to pass before committing, and CI runs that same one:

pixi run validate   # hygiene hooks, content front-matter, covers, unit tests,
                    # the Zotero data, a strict build and a dead-link check

Each step is also a task of its own: lint, test, check-content, check-outputs, check-links. check-sync (an Idiap publish dry-run) needs SSH, so it stays out of the gate — run it by hand after idiap-push. Commit hooks run the file-hygiene checks automatically; install them once with pixi run prek install --install-hooks.

What lives outside this repository

Publications come from the Zotero "My Publications" library, the single source of truth. pixi run outputs refreshes data/outputs.json when a Zotero API key is configured, and merely verifies that it is current when there is none — which is how CI checks the data without any credentials. Never hand-edit that file. pixi run orcid-report writes a to-do list for keeping ORCID in sync.

PDFs and raw images are served from https://www.idiap.ch/~aanjos/ rather than committed here — only optimised front-matter covers live in static/. The local mirror is idiap-public/ (git-ignored), synced with:

pixi run idiap-push   # publish to the server; additive, never deletes
pixi run idiap-pull   # refresh the local mirror from the server

See "Large assets live on Idiap" in AGENTS.md for the full rule.

The CV linked in the site header (cvURL in hugo.toml) is built from a separate repository.

Licence

See LICENSE.

About

Professional website

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages