mirror of
https://github.com/vectorize-io/hindsight.git
synced 2026-09-14 19:31:49 +08:00
4f21886a0e
* doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients) * doc: changelog for 0.2.0 (and regenerate clients)
21 lines
452 B
Bash
Executable File
21 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Script to generate OpenAPI specification and update documentation
|
|
# This runs the generate-openapi command from hindsight-dev and regenerates docs
|
|
|
|
cd "$(dirname "$0")/.."
|
|
ROOT_DIR=$(pwd)
|
|
|
|
echo "Generating OpenAPI specification..."
|
|
cd hindsight-dev
|
|
uv run generate-openapi
|
|
|
|
echo ""
|
|
echo "Building documentation..."
|
|
cd "$ROOT_DIR/hindsight-docs"
|
|
npm run build
|
|
|
|
echo ""
|
|
echo "OpenAPI spec and documentation generated successfully!"
|