mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
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.
17 lines
518 B
Bash
Executable File
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"
|