diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e75180a..01bb2d6 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -32,9 +32,10 @@ jobs: # Step 4: Generate Documentation - name: Generate Ontology Documentation run: | - mkdir -p docs + for file in *.ttl *.owl *.rdf; do if [[ -f "$file" ]]; then + mkdir -p docs/"${file%.*}" ontospy gendocs --type 1 -o docs/"${file%.*}" "$file" echo "Documentation generated for: $file" fi