|
| 1 | +# CLAUDE.md |
| 2 | + |
| 3 | +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. |
| 4 | + |
| 5 | +## Project Overview |
| 6 | + |
| 7 | +This is a Jekyll-based personal portfolio website for Craig T. Russell, PhD - a Machine Learning Scientist. The site uses the Minima theme and is designed to be hosted on GitHub Pages. The repository contains a professional academic/industry portfolio with CV, publications, and project information. |
| 8 | + |
| 9 | +## Architecture |
| 10 | + |
| 11 | +### Site Structure |
| 12 | +- **Jekyll Configuration**: `_config.yml` defines site metadata, theme settings, and social links |
| 13 | +- **Main Content**: `index.md` contains the full portfolio content in Markdown with Jekyll front matter |
| 14 | +- **CV File**: `cv.txt` contains a plain text version of the CV |
| 15 | +- **Static Assets**: Located in `assets/` directory with CSS, JavaScript, fonts, and images |
| 16 | +- **Images**: Portfolio images in `images/` with both full-size (`fulls/`) and thumbnail (`thumbs/`) versions |
| 17 | + |
| 18 | +### Theme and Styling |
| 19 | +- Uses Jekyll's Minima theme with auto dark/light mode switching |
| 20 | +- Custom CSS styling in `assets/css/main.css` and `assets/sass/main.scss` |
| 21 | +- Font Awesome icons for social links and UI elements |
| 22 | +- Responsive design with jQuery-based interactions |
| 23 | + |
| 24 | +### Key Features |
| 25 | +- Professional biography and employment history |
| 26 | +- Academic publications with DOI links |
| 27 | +- Technical skills and open source project listings |
| 28 | +- Social media integration (GitHub, LinkedIn, Google Scholar) |
| 29 | +- Responsive image gallery for project showcases |
| 30 | + |
| 31 | +## Development Commands |
| 32 | + |
| 33 | +### Local Development |
| 34 | +```bash |
| 35 | +# Install Jekyll and dependencies (if not already installed) |
| 36 | +gem install jekyll bundler |
| 37 | + |
| 38 | +# Serve the site locally with auto-regeneration |
| 39 | +jekyll serve --livereload |
| 40 | + |
| 41 | +# Build the site for production |
| 42 | +jekyll build |
| 43 | + |
| 44 | +# Serve with draft posts included |
| 45 | +jekyll serve --drafts |
| 46 | +``` |
| 47 | + |
| 48 | +### Content Management |
| 49 | +- Edit `index.md` for main portfolio content |
| 50 | +- Update `_config.yml` for site settings and social links |
| 51 | +- Modify `cv.txt` for plain text CV version |
| 52 | +- Add images to `images/fulls/` and corresponding thumbnails to `images/thumbs/` |
| 53 | + |
| 54 | +## Content Guidelines |
| 55 | + |
| 56 | +### Social Links Configuration |
| 57 | +Social links are configured in `_config.yml` under `minima.social_links` with Font Awesome icons. Current links include email, GitHub, LinkedIn, and Google Scholar. |
| 58 | + |
| 59 | +### Publication Management |
| 60 | +Publications in `index.md` should include: |
| 61 | +- Full citation with journal/conference |
| 62 | +- DOI or arXiv links where available |
| 63 | +- Proper academic formatting |
| 64 | + |
| 65 | +### Image Management |
| 66 | +- Full-size images go in `images/fulls/` |
| 67 | +- Corresponding thumbnails in `images/thumbs/` |
| 68 | +- Maintain consistent naming (01.jpg, 02.jpg, etc.) |
| 69 | + |
| 70 | +## Deployment |
| 71 | + |
| 72 | +This site is designed for GitHub Pages deployment. Changes pushed to the main branch will automatically deploy if GitHub Pages is configured for the repository. |
0 commit comments