Skip to content

Commit

Permalink
Merge pull request #895 from ORNL/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
JoshuaSBrown authored Sep 18, 2023
2 parents cefdf28 + 529f6ac commit e4df602
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
sudo ./scripts/install_docs_dependencies.sh
- name: Build documentation
run: |
cmake -S. -B build -DBUILD_AUTHZ=OFF -DBUILD_CORE_SERVER=OFF -DBUILD_COMMON=OFF -DBUILD_DOCS=ON -DBUILD_FOXX=OFF -DBUILD_REPO_SERVER=OFF -DBUILD_PYTHON_CLIENT=OFF -DBUILD_TESTS=OFF -DBUILD_WEB_SERVER=OFF -DENABLE_UNIT_TESTS=OFF
cmake -S. -B build -DBUILD_AUTHZ=OFF -DBUILD_CORE_SERVER=OFF -DBUILD_COMMON=OFF -DBUILD_DOCS=ON -DBUILD_FOXX=OFF -DBUILD_REPO_SERVER=OFF -DBUILD_PYTHON_CLIENT=ON -DBUILD_TESTS=OFF -DBUILD_WEB_SERVER=OFF -DENABLE_UNIT_TESTS=OFF
- name: Build cmake doc target
run: |
cmake --build build --target docs
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ if( BUILD_PYTHON_CLIENT )
endif()

if( BUILD_DOCS )
if(NOT BUILD_PYTHON_CLIENT)
message(FATAL_ERROR "Python client must also be build to create documentation for API.")
endif()
# make target = docs
add_subdirectory( doc_source EXCLUDE_FROM_ALL )
endif()
Expand Down

0 comments on commit e4df602

Please sign in to comment.