CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is Viktor Rognås’s personal website built with Quarto and deployed on Netlify. The site serves as a professional hub containing:
- CV/Resume and professional background
- Portfolio of scientific and software development projects
- Documentation and educational content related to pharmacometrics, clinical pharmacology, and drug development
- Tools and resources for pharmaceutical modeling and analysis
Build and Development Commands
Build the site
Preview during development
Install dependencies
Project Architecture
Content Structure
- Source files: Content is written in
.qmd
(Quarto Markdown) files in thedocs/
directory - Output: Generated HTML files are placed in
_site/
directory - Configuration:
_quarto.yml
contains the main site configuration including navigation, themes, and formatting options
Key Directories
docs/
: Main content organized by topic areas:aux/
: Auxiliary skills (data visualization, communication, coding practices)concepts/
: Pharmacokinetics, pharmacodynamics, clinical studies conceptsmodeling/
: Mathematical modeling techniques and goodness-of-fit approachespathology-primers/
: Disease state overviewspharmacopeia/
: Drug classification and mechanism informationtools-of-the-trade/
: Technical tools and software guides
images/
: Site-wide images and assets_site/
: Generated static site (do not edit directly)_freeze/
: Quarto’s computational cache
Specialized Content Features
- Bibliography: Uses
refs.bib
for citations withclinical-microbiology-and-infection.csl
style - Mathematical content: Includes pharmacokinetic operators loaded via
pk-operators.html
- Code execution: Quarto documents can include executable R, Python, and other code blocks
- Cross-references: Extensive internal linking between concepts and topics
Deployment
- Platform: Netlify with automatic deployments from GitHub
- Plugin: Uses
@quarto/netlify-plugin-quarto
for Quarto-specific build process - Performance: Includes Lighthouse CI for performance monitoring
- Redirects: Historical URL redirects defined in
netlify.toml
Content Guidelines
File Naming
- Use descriptive, lowercase names with hyphens (e.g.,
hepatic-impairment-studies.qmd
) - Organize content files within appropriate subdirectories under
docs/
Styling and Themes
- Dual theme support (light/dark) with custom SCSS files
- Images should be optimized and use appropriate formats (
.avif
preferred for photos) - Code blocks are set to fold by default with copy functionality enabled