Getting Started
A quick guide to get started using Svecodocs
The following guide will walk you through the process of getting a Svecodocs project up and running.
Clone the starter template
Clone the Svecodocs starter template:
Navigation
The starter template comes with a basic navigation structure to get your started. To customize the navigation, adjust the src/lib/navigation.ts
file.
Site config
The site config is used to configure site-wide settings, such as the title, description, keywords, ogImage, and other metadata.
The config is located in the src/lib/site-config.ts
file.
Per-Route Site Config
You can override any part of the site config on a per-route basis using the useSiteConfig
hook.
Under Development
Theme
The starter template comes with the default Svecodocs theme (orange). To customize the theme, adjust the import in the src/app.css
file to reflect the color scheme you want to use for your project. Each theme has been designed to work well in both light and dark mode.
Logo
To customize the logo displayed in the sidebar header, head to the src/routes/(docs)/+layout.svelte
file and adjust the contents of the logo
snippet. If the logo has a light and dark version, ensure to handle those similarly to the default Svecosystem logo.