This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is the website for Project CREDIBLE (Creatively Reimagining Engagement With Data in Biology Learning Environments), an NSF-funded STEM education research project. The website is built using Quarto and published to GitHub Pages at projectcredible.com.
- Quarto: Static site generator for creating the website from
.qmd(Quarto Markdown) files - R/RStudio: Development environment (evidenced by
.Rprojfile) - Output: Static HTML website generated to the
docs/directory - Deployment: GitHub Pages (hosted from
docs/directory)
# Render the entire website (builds all .qmd files to docs/)
quarto render
# Preview the website with live reload
quarto preview
# Render a single page
quarto render index.qmd
quarto render about.qmd_quarto.yml: Main configuration file defining website structure, navigation, theme (flatly), and output directory*.qmdfiles: Source content files in Quarto Markdown formatindex.qmd: Homepage with project overview and missionabout.qmd: Comprehensive page with mission, team, partners, advisory board, and FAQscontact.qmd: Contact informationclass-2025-26.qmd: Current educator network resourcesteacher-leaders.qmd: Teacher leader bioscohort-1.qmd: Archived past cohort resources (linked in footer)abc.qmd: ABCs of Data framework and resourcestools-and-resources.qmd: Additional teaching toolsnews.qmd: News and eventsget-involved.qmd: How to join or contribute to the project
docs/: Build output directory (contains generated HTML, committed to git for GitHub Pages)images/: Image assets referenced in contentstyles.css: Custom CSS for site styling
The website uses Quarto's website project type with:
-
Navigation: Defined in
_quarto.ymlwith left navbar containing:- Home
- About
- "Educator Network" dropdown menu (2025-26 Class, Teacher Leaders, ABCs of Data, Tools)
- News & Events
- Get Involved
- Contact
- Footer with link to past cohorts
-
Theme: Uses the "flatly" Bootstrap theme with custom CSS
-
Output Formats:
- Primary: HTML with table of contents
- Secondary: PDF output configured with XeLaTeX engine
-
Output Directory: All rendered content goes to
docs/which is served by GitHub Pages
When editing content:
- Modify the relevant
.qmdfile - Run
quarto renderto rebuild the site - Check the generated HTML in
docs/directory - Commit both the source
.qmdfile and generateddocs/files
- The
docs/directory is tracked in git (not gitignored) because it's used for GitHub Pages deployment .Rproj.user/,.Rhistory,.RData,.Ruserdata, and.quarto/are gitignored- The website URL is projectcredible.com (custom domain configured via CNAME)
- CNAME file: The
CNAMEfile in the project root is automatically copied todocs/during rendering (configured in_quarto.ymlunderproject.resources). This prevents the custom domain from being reset after each deployment. - This is an NSF-funded educational research project (Grant No. 2239152)