This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
bundle install
# 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
bundle exec jekyll build # Outputs to _site/
Jekyll static site for RRST (Race Result Services Team) event management portal, deployed on GitHub Pages at https://dgrv.github.io/rrst_website.
_config.yml - theme setting is automatically toggled by Run_jekyll_local.batThis is a data-driven site with three primary data sources:
1. Events (dynamic, external API)
assets/js/RRevents_rrst.js (18KB)2. Services (static TSV)
assets/data/services.tsv (9 services)assets/js/services_rrst.js3. Team (static TSV)
assets/data/team.tsv (9 team members)assets/js/team_rrst.jsPages (_pages/)
single.htmlLayouts (_layouts/)
events.html - Main event listing page with search/filter UIsingle.html - Standard page templatecode.html - Code-specific layoutNavigation
_data/navigation.ymlAssets
assets/js/ - Separate handlers for each major featureassets/data/ - JSON event archives, TSV files for services/teamassets/images/ - Organized subdirectories (logo, canton flags, services, etc.)assets/css/main.scss - Custom SCSS overrides on top of themeEach major page feature has a dedicated handler:
RRevents_rrst.js (18KB) - Event loading, filtering, search, rendering
services_rrst.js - Loads and renders services grid from TSV
team_rrst.js - Loads and renders team member cards with event participation
leaflet.js - Interactive map with Leaflet.js (v1.9.4) and MarkerCluster pluginWhen modifying the site, these are the most important files:
Configuration
_config.yml - Jekyll settings, theme, plugins, analytics, site metadataLayouts
_layouts/events.html - Main event listing page_layouts/single.html - Default page templateJavaScript Handlers
assets/js/RRevents_rrst.js - Event loading and filtering logicassets/js/services_rrst.js - Services displayassets/js/team_rrst.js - Team member displayassets/js/leaflet.js - Interactive map functionalityData Files
assets/data/services.tsv - Service definitions (9 services)assets/data/team.tsv - Team member data (9 members)assets/data/events/ - JSON event archives (2005-2025)Navigation & Styles
_data/navigation.yml - Site navigation menuassets/css/main.scss - Custom SCSS overrideshttps://rrstdevices-app-zntch.ondigitalocean.app/api/send-email/rrst_website baseurl used in production_config.yml theme settings based on internet availability