diff --git a/_config.yml b/_config.yml index 4145108..3802b04 100644 --- a/_config.yml +++ b/_config.yml @@ -4,8 +4,8 @@ title: SpecFact CLI Documentation description: >- Complete documentation for SpecFact CLI - Brownfield-first CLI: Reverse engineer legacy Python → specs → enforced contracts. -baseurl: "/specfact-cli" # Project pages require baseurl -url: "https://nold-ai.github.io" # GitHub Pages domain +baseurl: "" # Custom domain at root, no baseurl needed +url: "https://docs.specfact.io" # Custom domain # Build settings markdown: kramdown @@ -51,17 +51,16 @@ defaults: type: pages values: layout: default - # Apply permalink pattern only to markdown files + # Apply permalink pattern only to markdown files (exclude assets) # Note: SCSS files with front matter are treated as pages and inherit this pattern - # This causes CSS to be output at main/index.css instead of assets/main.css - # We fix this in the GitHub Pages workflow by copying the CSS to the correct location + # We exclude assets/ directory to prevent CSS from being output at main/index.css - scope: path: "" type: pages + exclude: + - "assets/**" values: permalink: /:basename/ - # Only apply to files that are actually markdown, not SCSS - # Jekyll will still process SCSS as assets if they're in assets/ - scope: path: "getting-started" values: