smm.config.json supports these useful options:
rootTitle: document title.description: default description.markdownItOptions: markdown-it constructor options.baseRoute: route base prefix.outDir: output directory name for built artefacts (default "dist").publicPath: directory to copy as public assets.defaultTheme: initial theme.favicon: favicon URL/path.logo: logo URL/path.name: brand/app name.showNameWithLogo: show name near logo.og: Open Graph tags object.sortRoutes: sort routes tree.trimIndexFromPath: trims filename numeric prefixes from route names.version: docs/site version string.fonts: title/body/mono font names and optional stylesheet URLs.{
"rootTitle": "Serve My MD",
"description": "A simple markdown to static site builder.",
"baseRoute": "/",
"defaultTheme": "dark",
"markdownItOptions": {
"html": true,
"xhtmlOut": true,
"breaks": true,
"langPrefix": "language-",
"linkify": true,
"typographer": false
},
"outDir": "dist",
"favicon": "",
"logo": "",
"name": "Serve My MD",
"showNameWithLogo": true,
"sortRoutes": true,
"trimIndexFromPath": false
}
Example:
{
"rootTitle": "My Docs",
"description": "Team documentation",
"baseRoute": "/",
"defaultTheme": "dark",
"sortRoutes": true,
"trimIndexFromPath": true,
"publicPath": "public",
"outDir": "my-site"
}