Files
nvbench/docs/build_combined_docs.sh
Oleksandr Pavlyk 4d887a44e4 Fix cpp_benchmarks, add py_benchmarks
1. Fixed xrefs in docs/sphinx-combined/cpp_benchmarks.md, which is built on top of
   docs/benchmarks.md

   Added level-1 heading, and pushed existing headings one level down.

2. Added py_benchmarks.md to document benchmarking of Python scripts.

3. Rearranged entries in index.rst so that overview documents come before
   API enumeration.
2026-03-12 13:53:58 -05:00

17 lines
518 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
BUILD_DIR="${SCRIPT_DIR}/sphinx-combined/_build"
DOXYGEN_DIR="${SCRIPT_DIR}/sphinx-combined/_doxygen"
mkdir -p "${BUILD_DIR}" "${DOXYGEN_DIR}"
echo "Running Doxygen for combined C++ API..."
(cd "${SCRIPT_DIR}/sphinx-combined" && doxygen Doxyfile)
echo "Building combined Sphinx docs..."
sphinx-build -E -b html "${SCRIPT_DIR}/sphinx-combined" "${BUILD_DIR}"
echo "Combined docs available at ${BUILD_DIR}/index.html"