Install the NodeJS and Python dependencies in the duckdb-web
directory:
npm install
pip install -r requirements.txt
Download the Nightly DuckDB distribution, extract the duckdb
file and move it to the directory expected by the scripts:
mkdir -p build/release
mv duckdb build/release
Run the script as follows:
./scripts/generate_all_docs.sh <path_to_duckdb_directory>
Build DuckDB and install the in-tree extensions.
Go to the DuckDB directory and run:
GEN=ninja EXTENSION_CONFIGS=".github/config/in_tree_extensions.cmake" make
cd build/release/extension/
for EXTENSION in *; do
../duckdb -c "INSTALL '${EXTENSION}/${EXTENSION}.duckdb_extension';"
done
Run the script as follows:
./scripts/generate_all_docs.sh <path_to_duckdb_source_directory>
For a detailed guide on how to disable/enable extensions during build, see Building and Installing Extensions from Source.