Files
Mark.lin b3aecf4c6d Finalize unified SDK exports and customer documentation
- remove the obsolete internal-export build switch so diagnostic symbols consistently use the single gvfg.dll export profile

- keep the standalone SDK version as one explicit string that supports release-candidate suffixes

- correct the public event polling documentation and reorganize the API reference and GigabyteLib gap notes under the customer documentation folder

- add the branded DOCX/PDF API reference, reproducible generation scripts, source archive, and supporting assets

- ignore generated Python bytecode from the documentation toolchain

Validation: git diff --cached --check passed before commit. No SDK rebuild or hardware runtime validation was performed in this commit pass.
2026-10-07 10:11:19 +08:00

33 lines
782 B
Batchfile

@echo off
setlocal
set "SCRIPT_DIR=%~dp0"
set "PYTHON_EXE="
if exist "%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe" (
set "PYTHON_EXE=%USERPROFILE%\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe"
)
if not defined PYTHON_EXE (
where python.exe >nul 2>nul
if not errorlevel 1 set "PYTHON_EXE=python.exe"
)
if not defined PYTHON_EXE (
echo ERROR: Python 3 ^(python.exe^) was not found.
echo Install Python 3 or run this tool on the GVFG development machine.
pause
exit /b 1
)
"%PYTHON_EXE%" "%SCRIPT_DIR%build_api_reference_pdf.py" %*
set "RESULT=%ERRORLEVEL%"
if not "%RESULT%"=="0" (
echo.
echo PDF generation failed. See the error above.
pause
)
exit /b %RESULT%