diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1412ec6..e860bed 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -63,7 +63,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: "docs/_build/html/" + path: "build/html/" - name: Deploy to GitHub Pages id: deployment diff --git a/CMakeLists.txt b/CMakeLists.txt index 6287836..f54bf64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ endif() if(BUILD_DOCS) find_package(Doxygen REQUIRED) + set(DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs) doxygen_add_docs(docs ${PROJECT_SOURCE_DIR} docs/ ALL COMMENT "Generate package documentation") endif()