Getting started
Configuration
Learn how to configure your Hackmamba documentation project
Configuration
Configure your Hackmamba documentation template to match your project's needs.
Basic Configuration
Site Information
Update your site information in lib/layout.shared.tsx:
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: "Your Project Name",
// ... other configuration
},
};
}Navigation Structure
Configure your navigation in content/docs/meta.json:
{
"title": "Documentation",
"pages": [
"index",
{
"title": "Getting Started",
"pages": ["overview", "installation"]
}
]
}Advanced Configuration
Custom Styling
Modify colors and styling in app/global.css:
:root {
--primary-color: #your-color;
--secondary-color: #your-secondary-color;
}Search Configuration
Enable or disable search functionality:
export function baseOptions(): BaseLayoutProps {
return {
search: true, // Enable search
// ... other options
};
}Environment Variables
Create a .env.local file for environment-specific settings:
NEXT_PUBLIC_SITE_URL=https://your-domain.com
NEXT_PUBLIC_SITE_NAME=Your Site Name