Skip to content

Commit

Permalink
added docs_check target (openvinotoolkit#3403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntyukaev authored and jiwaszki committed Jan 15, 2021
1 parent 7aa81f6 commit 77b58e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ function(build_docs)
COMMENT "Generating OpenVINO documentation"
VERBATIM)

add_custom_target(docs_check
COMMAND ${Python3_EXECUTABLE} ${LINKCHECKER_EXECUTABLE} ${DOCS_BUILD_DIR}/html/ -f ${DOXYGEN_DIR}/linkchecker_filter.yaml --no_recursive -l ${DOCS_BUILD_DIR}
COMMENT "Check links in generated documentation"
VERBATIM)

set_target_properties(openvino_docs ie_docs c_api py_api preprocess_docs plugin_api
PROPERTIES FOLDER docs)

Expand Down
4 changes: 4 additions & 0 deletions docs/doxygen/linkchecker_filter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
exclude_links:
- '.*?\@ref omz.*'
- '.*?\@ref pot.*'
- '.*?\@ref workbench.*'

0 comments on commit 77b58e9

Please sign in to comment.