CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Development Commands

Install Dependencies

bundle install

Local Development

# Option 1: Direct Jekyll command
bundle exec jekyll serve

# Option 2: Windows batch script (recommended on Windows)
Run_jekyll_local.bat

The batch script automatically detects internet connectivity and switches between remote theme (online) and local theme (offline) by modifying _config.yml.

Local server: http://localhost:4000 Note: Site uses baseurl /rrst_website for GitHub Pages deployment

Build Site

bundle exec jekyll build  # Outputs to _site/

High-Level Architecture

Site Type

Jekyll static site for RRST (Race Result Services Team) event management portal, deployed on GitHub Pages at https://dgrv.github.io/rrst_website.

Theme System

Data Architecture

This is a data-driven site with three primary data sources:

1. Events (dynamic, external API)

2. Services (static TSV)

3. Team (static TSV)

Content Organization

Pages (_pages/)

Layouts (_layouts/)

Navigation

Assets

Key JavaScript Architecture

Each major page feature has a dedicated handler:

Critical File Paths

When modifying the site, these are the most important files:

Configuration

Layouts

JavaScript Handlers

Data Files

Navigation & Styles

External Dependencies & Integrations

Important Notes