Global rules: ~/hub/AGENTS.md (this file adds project specifics and wins on conflict).

maheshkaran.github.io

Karan Mahesh’s personal academic site (https://maheshkaran.github.io), a fork of the al-folio Jekyll theme. README.md is al-folio’s upstream README, not project docs. In practice the site is a single About page (bio, news, selected papers, social links) plus the CV PDF; the Projects, Publications, Teaching and CV pages exist but are hidden (nav: false). Recent work (2026-06 to 2026-09-16) has been bio/headshot/CV updates. Deploys automatically on push to master.

Commands

| Task | Command | |—|—| | local serve (docker, recommended) | bin/docker_build_image.sh (once; builds al-folio:latest), then bin/docker_run.sh → http://localhost:8080 | | local serve (native) | bundle install && bundle exec jekyll serve — not currently possible: only system Ruby 2.6 (/usr/bin/ruby) is installed; CI uses Ruby 3.2. Install Ruby 3.2 (e.g. Homebrew) first | | production build (what CI runs) | JEKYLL_ENV=production bundle exec jekyll build → _site/ | | deploy | git push origin master → .github/workflows/pages.yml builds and deploys to GitHub Pages | | tests | none |

Not verified 2026-09-27 (no Jekyll install; no servers per task rules). Both bin/docker_*.sh scripts delete Gemfile.lock first (it is gitignored).

Layout — user content (edit these)

| Path | What it is | |—|—| | _pages/about.md | the home page (permalink: /): front matter (subtitle, profile image, news/selected_papers/social toggles) + bio prose | | _news/announcement_N.md | news items on the About page (layout: post, date, inline: true); add a new numbered file | | _bibliography/papers.bib | publications (jekyll-scholar). Entries with selected={true} appear on About; preview= refers to assets/img/publication_preview/ | | assets/pdf/Karan_Mahesh_CV.pdf | CV linked from About and the CV icon; replace in place to update | | assets/img/Karan_Mahesh.png | profile photo (set in about.md profile.image); other headshots in assets/img/ | | _config.yml | name, URL, social IDs (e.g. scholar_userid), feature flags (enable_*), scholar settings | | _includes/social.html | which social icons appear (user-edited) | | _data/cv.yml, _data/coauthors.yml | CV-page data and coauthor links — still al-folio placeholders (Einstein) | | _pages/{cv,projects,publications,teaching,dropdown}.md | hidden pages (nav: false); publications.md years: list is still placeholder | | _projects/, _posts/, blog/ | al-folio sample content (placeholders) | | google59db35dd7b770187.html, robots.txt | Google site verification; crawler rules |

Layout — theme internals (don’t touch unless changing the theme)

_layouts/, _includes/ (except social.html), _sass/, assets/{css,js}/, _plugins/, 404.html, Dockerfile, bin/, .github/{ISSUE_TEMPLATE,FUNDING.yml,stale.yml}, .all-contributorsrc, CONTRIBUTING.md, LICENSE, README.md. The user has made small edits to _layouts/about.html, _includes/{header,metadata,selected_papers}.html, _includes/scripts/mathjax.html, _sass/_base.scss, _sass/_themes.scss — preserve them if merging upstream al-folio.

Conventions

Gotchas

Don’t touch