Skip to main content
Sanity Studio is the browser-based CMS that powers all content on the Capstone site. Editors create and publish pages, sponsors, projects, events, and global site settings from Studio, and those changes appear on the Astro front end at the next build (static mode) or immediately (Visual Editing preview mode).

Two workspaces

This project runs two Sanity workspaces inside a single Studio deployment, each backed by a different dataset:

Capstone Sponsors

Dataset: production
URL path: /capstone
Manages sponsor, project, event, and page content for the main YWCC Capstone site.

RWC Programs

Dataset: rwc
URL path: /rwc
Manages content for the Returning Women in Computing program, with per-site filtering (rwc-us / rwc-intl).
The workspace split is defined in studio/sanity.config.ts. Each workspace has its own desk structure, presentation preview origin, and schema template list.

Running Studio locally

1

Install dependencies

From the monorepo root:
npm install
2

Configure environment variables

Copy studio/.env.example to studio/.env.local and fill in your Sanity project ID:
SANITY_STUDIO_PROJECT_ID=your_project_id
SANITY_STUDIO_PREVIEW_ORIGIN=http://localhost:4321
SANITY_STUDIO_RWC_PREVIEW_ORIGIN=http://localhost:4322
3

Start Studio

cd studio && npx sanity dev
Studio opens at http://localhost:3333. Navigate to /capstone or /rwc to switch workspaces.

Signing in

Studio uses Sanity’s built-in authentication. Sign in with the Google or GitHub account that has been granted access to the Sanity project. Ask the project owner to invite you at manage.sanity.io → your project → Members.

Document types available

The following document types are available to editors. See the Document Types section in this tab for field-level documentation for each.
Document typePurpose
PageAny URL-addressable page built from content blocks
SponsorIndustry sponsor profile with logo, tier, and portal access
ProjectCapstone team project linked to a sponsor
TestimonialQuote from a student or industry contact
EventWorkshop, showcase, or networking event
Site SettingsSingleton — global nav, footer, branding, social links
SubmissionForm submission received from the contact form

Deployed Studio

The production Studio is deployed to Sanity hosting. Run the following from the studio directory to deploy:
npx sanity deploy
The Capstone and RWC workspaces share a single Studio deployment. Editors choose their workspace from the workspace selector at the top of the Studio UI.

Build docs developers (and LLMs) love