CLAUDE.md
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Development Commands
Local Development
bundle install
- Install Ruby dependenciesbundle exec jekyll serve
- Serve site locally at localhost:4000 with auto-reloadbundle exec jekyll liveserve
- Alternative serve command mentioned in READMEbundle clean
- Clean up directory before installing
Build and Minification
npm run build:js
- Build and minify JavaScript filesnpm run uglify
- Minify JS files into main.min.jsnpm run watch:js
- Watch JS files for changes and auto-build
Site Architecture
This is a Jekyll-based academic website built on the Minimal Mistakes theme, customized for academic portfolios.
Key Configuration
- Main config:
_config.yml
(site-wide settings, author info, collections) - Dev config:
_config.dev.yml
(development overrides) - Ruby dependencies:
Gemfile
- Node dependencies:
package.json
Content Structure
_pages/
- Main site pages (about, CV, research, etc.)_posts/
- Blog posts_publications/
- Academic publications_talks/
- Conference talks and presentations_portfolio/
- Portfolio itemsfiles/
- Static files (PDFs, documents)images/
- Image assets
Theme Customization
_sass/
- SCSS stylesheets for theme customization_includes/
- Reusable HTML components_layouts/
- Page templatesassets/css/
- Additional CSS filesassets/js/
- JavaScript files
Data and Automation
_data/
- YAML data files (navigation, authors, comments)markdown_generator/
- Jupyter notebooks and Python scripts to generate markdown from TSV files- Collections are defined in
_config.yml
with custom permalinks
GitHub Pages Deployment
Site is configured for GitHub Pages deployment with github-pages
gem. Uses Jekyll plugins for sitemap, feed, and redirects.