mirror of
https://github.com/nlohmann/json.git
synced 2026-10-08 07:27:12 +00:00
Add step to build the documentation (#4549)
* 💚 add step to build the documentation * 💚 add step to build the documentation
This commit is contained in:
1 parent
8e1b800017
commit
f2a4ac0673
2 files changed
+7
-5
No files matched your search
+6
-4
@@ -1023,10 +1023,12 @@ add_custom_target(ci_test_examples
|
||||
COMMENT "Check that all examples compile and create the desired output"
|
||||
)
|
||||
|
||||
add_custom_target(ci_test_api_documentation
|
||||
COMMAND ${Python3_EXECUTABLE} ../scripts/check_structure.py
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/mkdocs/docs
|
||||
COMMENT "Lint the API documentation"
|
||||
add_custom_target(ci_test_build_documentation
|
||||
COMMAND ${Python3_EXECUTABLE} -mvenv venv
|
||||
COMMAND venv/bin/pip3 install -r requirements.txt
|
||||
COMMAND make build
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/mkdocs
|
||||
COMMENT "Build the documentation"
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
|
||||
Reference in new issue
Block a user