-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Move API sample code to tutorial_code location #20857
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
Conversation
@dmatveev Do we really need to do that? AFAIK, G-API documentation is stored under gapi module: https://github.com/opencv/opencv/tree/master/modules/gapi/doc |
1e1a47f
to
a79dad1
Compare
7210750
to
987b248
Compare
43ab6fc
to
0f2404b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@alalek could you merge it please |
@@ -47,7 +47,7 @@ an external parameter. | |||
G-API provides a macro to define a new kernel interface -- | |||
G_TYPED_KERNEL(): | |||
|
|||
@snippet modules/gapi/samples/kernel_api_snippets.cpp filter2d_api | |||
@snippet samples/cpp/tutorial_code/gapi/kernel_api_snippets/kernel_api_snippets.cpp filter2d_api |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kernel_api_snippets
I don't think we need an individual directory for every of the snippet files. You can place them all in just doc_snippets
directory and make it once. The tutorial_code/gapi
directory now may look overloaded with details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, will move all snippets files to tutorial_code/gapi/doc_snippets
b3f75a8
to
49a38cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 , thanks!
@alalek please merge the PR |
…ples Move API sample code to tutorial_code location
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.
Build configuration