mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			355 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			355 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
|   | #!/bin/bash
 | ||
|  | set -euo pipefail | ||
|  | 
 | ||
|  | # Note: this assumes that datahub has already been built with `./gradlew build`. | ||
|  | DATAHUB_ROOT=.. | ||
|  | DOCS_OUT_DIR=$DATAHUB_ROOT/docs/generated/ingestion | ||
|  | EXTRA_DOCS_DIR=$DATAHUB_ROOT/metadata-ingestion/docs/sources | ||
|  | 
 | ||
|  | rm -r $DOCS_OUT_DIR || true | ||
|  | python scripts/docgen.py --out-dir ${DOCS_OUT_DIR} --extra-docs ${EXTRA_DOCS_DIR} $@ |