docs: опиши работу с сабмодулями и добавь сборку Doxygen

This commit is contained in:
2026-10-01 18:19:38 +03:00
parent 6df5674996
commit 46ecbe3210
6 changed files with 361 additions and 1 deletions

28
doc/build-doxygen.ps1 Normal file
View File

@@ -0,0 +1,28 @@
[CmdletBinding()]
param()
$ErrorActionPreference = 'Stop'
$repositoryRoot = Split-Path -Parent $PSScriptRoot
$doxygen = Get-Command doxygen -ErrorAction SilentlyContinue
if (-not $doxygen) {
throw 'Doxygen не найден в PATH. Установите Doxygen и повторите запуск.'
}
Push-Location $repositoryRoot
try {
& $doxygen.Source Doxyfile
if ($LASTEXITCODE -ne 0) {
throw "Doxygen завершился с кодом $LASTEXITCODE."
}
}
finally {
Pop-Location
}
$indexPath = Join-Path $repositoryRoot '.codex-build\doxygen\html\index.html'
if (-not (Test-Path -LiteralPath $indexPath)) {
throw "Doxygen не создал ожидаемый файл: $indexPath"
}
Write-Host "[DONE] Doxygen HTML: $indexPath"