Skip to content

Commit 7241520

Browse files
committed
💚 add step to build the documentation
1 parent c098038 commit 7241520

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ jobs:
290290
runs-on: ubuntu-latest
291291
strategy:
292292
matrix:
293-
target: [ci_test_examples, ci_test_api_documentation, ci_test_build_documentation]
293+
target: [ci_test_examples, ci_test_build_documentation]
294294
steps:
295295
- name: Harden Runner
296296
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2

cmake/ci.cmake

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,16 +1023,10 @@ add_custom_target(ci_test_examples
10231023
COMMENT "Check that all examples compile and create the desired output"
10241024
)
10251025

1026-
add_custom_target(ci_test_api_documentation
1027-
COMMAND ${Python3_EXECUTABLE} ../scripts/check_structure.py
1028-
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/mkdocs/docs
1029-
COMMENT "Lint the API documentation"
1030-
)
1031-
10321026
add_custom_target(ci_test_build_documentation
10331027
COMMAND ${Python3_EXECUTABLE} -mvenv venv
10341028
COMMAND venv/bin/pip3 install -r requirements.txt
1035-
COMMAND venv/bin/mkdocs build
1029+
COMMAND make build
10361030
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/mkdocs
10371031
COMMENT "Build the documentation"
10381032
)

0 commit comments

Comments
 (0)