- build.sh outputs pt.html, work.html and styles.css into site/ - nginx root moved to site/ so .git and source files are no longer public - add page titles via pagetitle front matter - add work.md case-study skeleton (blocked in nginx until ready) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.8 KiB
Markdown
31 lines
1.8 KiB
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Build
|
|
|
|
The resume is authored in Markdown and compiled to HTML with pandoc:
|
|
|
|
```bash
|
|
bash build.sh
|
|
```
|
|
|
|
This builds `paul_trowbridge.md` → `site/pt.html` and `work.md` → `site/work.html` with pandoc, and copies `styles.css` into `site/`.
|
|
|
|
`site/` is the public web root (nginx serves it at https://hptrow.me/) — only built output belongs there, so the repo itself is never served. Do not edit files in `site/` directly. All content changes go in `paul_trowbridge.md` (resume) or `work.md` (portfolio page).
|
|
|
|
## Architecture
|
|
|
|
Source files:
|
|
|
|
- **`paul_trowbridge.md`** — source of truth for all resume content. Uses YAML front matter (`pagetitle`) for the `<title>` tag. Section structure: Professional Summary → Professional Experience (reverse chronological) → Education → Infrastructure & Tools.
|
|
- **`styles.css`** — custom stylesheet. CSS variables at `:root` control the color palette (blues + grays). Sections use `h1`/`h2`/`h3` hierarchy generated by pandoc. Includes print media query (`@media print`) tuned for clean PDF output.
|
|
- **`work.md`** — portfolio / case-study page (`site/work.html`). Blocked in nginx until ready to publish.
|
|
- **`site/pt.html`** — pandoc-generated output. The stylesheet is embedded as a `<link>` tag; pandoc injects its own minimal inline styles alongside it.
|
|
|
|
The `css/` directory contains older stylesheets (markdown.css, highlight.css, etc.) from a prior pandoc approach — these are no longer used. `flavor.css` is also unused.
|
|
|
|
## Workflow
|
|
|
|
Edit `paul_trowbridge.md`, then run `bash build.sh` to regenerate `site/`. The HTML renders in a browser; print or export to PDF directly from the browser using the print styles in `styles.css`.
|