This repository migrated from DocFX to Lunet on master.
docfx/articles/** to site/articles/**api.dotnetsite/config.scriban: Lunet config and API docs setupsite/menu.yml: Top-level nav (Home, Articles, API)site/articles/**: Main documentation pagessite/articles/**/menu.yml: Section sidebarssite/images/**: Images used by documentationsite/.lunet/css/template-main.css: precompiled template stylesheet (runtime Sass workaround)site/.lunet/css/site-overrides.css: project-specific UI/UX customizationsThe API reference is generated from:
../src/Avalonia.Controls.TreeDataGrid/Avalonia.Controls.TreeDataGrid.csprojvia with api.dotnet in config.scriban.
Current API settings:
TargetFramework: net8.0/apiexternal_apis mappings for Avalonia assemblies to https://api-docs.avaloniaui.net/docsThis keeps TreeDataGrid APIs local while external Avalonia xrefs resolve to the official Avalonia API site.
Lunet 1.0.10 on macOS 15 has a Dart Sass platform detection issue.
To keep the full template visual quality:
bundle: "lite" via with attributes/_builtins/bundle.sbn-html override resolves bundle links safelytemplate-main.css is precompiled and committed, then loaded by the lite bundleTo refresh template-main.css locally after template updates:
npx --yes sass --no-source-map --style=expanded \
--load-path site/.lunet/build/cache/.lunet/resources/npm/bootstrap/5.3.8/scss \
--load-path site/.lunet/build/cache/.lunet/resources/npm/bootstrap-icons/1.13.1/font \
site/.lunet/build/cache/.lunet/extends/github/lunet-io/templates/main/dist/.lunet/css/main.scss \
site/.lunet/css/template-main.css
From repository root:
./build-docs.sh
./check-docs.sh
./serve-docs.sh
serve-docs.sh prints the local URL and auto-selects the next free port when DOCS_PORT is already in use.
PowerShell:
./build-docs.ps1
./serve-docs.ps1
All commands run Lunet in site/ and output to site/.lunet/build/www.