Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Doc Link Checker #3403

Merged
merged 1 commit into from
Nov 30, 2020
Merged

CMake Doc Link Checker #3403

merged 1 commit into from
Nov 30, 2020

Conversation

ntyukaev
Copy link
Contributor

No description provided.

@ntyukaev ntyukaev requested a review from a team as a code owner November 27, 2020 16:42
@openvino-pushbot openvino-pushbot added the category: docs OpenVINO documentation label Nov 27, 2020
exclude_links:
- '.*?\@ref omz.*'
- '.*?\@ref pot.*'
- '.*?\@ref workbench.*'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

am I right that all other links are correct? I don't believe in it 😄

@@ -202,6 +202,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}
Copy link
Contributor

@ilya-lavrenov ilya-lavrenov Nov 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LINKCHECKER_EXECUTABLE is empty since it's not defined in the project. Let's add LINKCHECKER_EXECUTABLE option to cmake/features.cmake and enable this step only if LINKCHECKER_EXECUTABLE is defined and file exists.

BTW, since this is a python script, can we rename to LINKCHECKER_PY?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

paths like ${DOCS_BUILD_DIR}/html/ must be quoted with "

@ilya-lavrenov ilya-lavrenov added this to the 2021.3 milestone Nov 30, 2020
@ilya-lavrenov ilya-lavrenov merged commit 2df43a6 into openvinotoolkit:master Nov 30, 2020
evolosen pushed a commit to evolosen/openvino that referenced this pull request Dec 3, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 11, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Dec 16, 2020
mryzhov pushed a commit to mryzhov/openvino that referenced this pull request Jan 14, 2021
jiwaszki pushed a commit to akuporos/openvino that referenced this pull request Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: docs OpenVINO documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants