Skip to content

docs: remove duplicated step in Build .js doc#22672

Merged
alalek merged 2 commits intoopencv:4.xfrom
ramasilveyra:docs/remove-dup-v4
Oct 21, 2022
Merged

docs: remove duplicated step in Build .js doc#22672
alalek merged 2 commits intoopencv:4.xfrom
ramasilveyra:docs/remove-dup-v4

Conversation

@ramasilveyra
Copy link
Copy Markdown
Contributor

@ramasilveyra ramasilveyra commented Oct 20, 2022

Remove duplicated step in Build OpenCV.js doc: https://docs.opencv.org/4.6.0/d4/da1/tutorial_js_setup.html

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

python ./platforms/js/build_js.py build_js --cmake_option="-DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules"
@endcode

-# [optional] To enable OpenCV contrib modules append `--cmake_option="-DOPENCV_EXTRA_MODULES_PATH=/path/to/opencv_contrib/modules/"`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice catch!

relates #19167

Please add emcmake prefix to the command above: emcmake python ...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done!

@ramasilveyra
Copy link
Copy Markdown
Contributor Author

@alalek this bug is also present in v5 https://docs.opencv.org/5.x/d4/da1/tutorial_js_setup.html, should I create a new pr for the 5.x branch?

@ramasilveyra ramasilveyra requested a review from alalek October 21, 2022 13:37
Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

Thank you 👍

Changes will be propagated to 5.x branch automatically: https://github.com/opencv/opencv/wiki/Branches
Separate patch is not needed.

@alalek alalek merged commit 8e5f37f into opencv:4.x Oct 21, 2022
@ramasilveyra ramasilveyra deleted the docs/remove-dup-v4 branch October 21, 2022 15:26
@alalek alalek mentioned this pull request Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants