Skip to content

Commit e3af1d4

Browse files
author
zachcran
committed
Add ability to specify CMake source dir that module subdir is in
1 parent 616a6ba commit e3af1d4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/deploy_docs_master.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ on:
2525
required: false
2626
type: string
2727
default: ''
28+
cmake_source_dir:
29+
required: false
30+
type: string
31+
default: 'cmake'
2832
docs_dir:
2933
required: false
3034
type: string
@@ -45,6 +49,7 @@ jobs:
4549
api_docs_dir: ${{ inputs.api_docs_dir }}
4650
api_docs_module: ${{ inputs.api_docs_module }}
4751
build_api_docs_dir: "build/api_docs"
52+
cmake_source_dir: ${{ inputs.cmake_source_dir }}
4853
docs_dir: ${{ inputs.docs_dir }}
4954
venv: "virt_env"
5055

@@ -88,8 +93,13 @@ jobs:
8893
8994
# Build the API docs with CMinx
9095
cminx \
96+
<<<<<<< Updated upstream
9197
"cmake/${api_docs_module}" \
9298
-o "${build_api_docs_dir}/${api_docs_module}" \
99+
=======
100+
"${cmake_source_dir}/${api_docs_module}" \
101+
-o "build/api_docs/${api_docs_module}" \
102+
>>>>>>> Stashed changes
93103
-r -p ${api_docs_module}
94104

95105
# Move the api docs to the documentation directory

0 commit comments

Comments
 (0)