Move docs to luacs-docs/{lua,cs,landing-page}
luacs-docs/cs also has a proper http server for testing locally
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
Import-Module $PSScriptRoot/../../scripts/location.ps1
|
||||
|
||||
try {
|
||||
Change-Location $PSScriptRoot/..
|
||||
|
||||
if ((Get-Command "doxgen" -ErrorAction SilentlyContinue) -eq $null) {
|
||||
echo "doxygen not found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Remove-Item -Force -Recurse ./build | Out-Null
|
||||
New-Item -ItemType Directory ./build | Out-Null
|
||||
New-Item -ItemType Directory ./build/baro-server | Out-Null
|
||||
New-Item -ItemType Directory ./build/baro-client | Out-Null
|
||||
|
||||
echo "Building server docs"
|
||||
try {
|
||||
Change-Location ./baro-server
|
||||
doxygen ./Doxyfile
|
||||
} finally {
|
||||
Restore-Location
|
||||
}
|
||||
|
||||
echo "Building client docs"
|
||||
try {
|
||||
Change-Location ./baro-client
|
||||
doxygen ./Doxyfile
|
||||
} finally {
|
||||
Restore-Location
|
||||
}
|
||||
|
||||
echo "Building shared docs"
|
||||
doxygen ./Doxyfile
|
||||
} finally {
|
||||
Restore-Location
|
||||
}
|
||||
Reference in New Issue
Block a user