From e5009bd622d7ce805bd96c94134877bfa67fbeca Mon Sep 17 00:00:00 2001 From: Michel Dumontier Date: Fri, 29 Nov 2024 08:48:48 +0100 Subject: [PATCH 1/3] Update documentation.yml --- .github/workflows/documentation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 066c924..0bf2efa 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -36,7 +36,8 @@ jobs: for file in *.ttl *.owl *.rdf; do if [[ -f "$file" ]]; then mkdir -p docs/"${file%.*}" - ontospy gendocs --type 2 -o docs/"${file%.*}" "$file" + # ontospy gendocs --type 2 -o docs/"${file%.*}" "$file" + ontospy gendocs --type 2 -o docs/ "$file" echo "Documentation generated for: $file" fi done From 1e933922e905acafe1593cb01528a0270cc99e48 Mon Sep 17 00:00:00 2001 From: Ensar Emir Erol Date: Fri, 29 Nov 2024 10:06:26 +0100 Subject: [PATCH 2/3] removed publish path in documenentation workflow --- .github/workflows/documentation.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0bf2efa..9db1460 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -47,4 +47,3 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs From 242364d5a27685fd3c209d103d68d32e3a3bc149 Mon Sep 17 00:00:00 2001 From: Ensar Emir Erol Date: Fri, 29 Nov 2024 10:14:37 +0100 Subject: [PATCH 3/3] reverted previous changes --- .github/workflows/documentation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9db1460..c896e69 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -32,7 +32,7 @@ jobs: # Step 4: Generate Documentation - name: Generate Ontology Documentation run: | - + for file in *.ttl *.owl *.rdf; do if [[ -f "$file" ]]; then mkdir -p docs/"${file%.*}" @@ -47,3 +47,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs