Configuration
Customize Scholar to match your brand and workflow.
Last updated: January 15, 2026
Scholar is designed for easy customization. Most changes require editing a single configuration file — no digging through components.
Site configuration
Open src/config/site.ts to update:
export const siteConfig = {
name: 'Scholar',
tagline: 'Documentation that developers actually read',
description: 'Your site description for SEO.',
url: 'https://your-domain.example.com',
author: 'Your Company',
email: 'hello@example.com',
// ...
};
Theme tokens
Colors, fonts, and layout preferences live in src/config/theme.ts:
export const themeConfig = {
colors: {
light: { accent: '#2563EB', /* ... */ },
dark: { accent: '#60A5FA', /* ... */ },
},
};
Navigation
Edit src/config/navigation.ts to restructure your docs sidebar and main navigation links.
Content collections
Documentation pages go in src/content/docs/ and blog posts in src/content/blog/. Both support .md and .mdx files with frontmatter.
Environment-specific settings
For production URLs, update site in astro.config.mjs to match your deployed domain. This ensures sitemap and Open Graph URLs are correct.