Merge pull request #3972 from PhilLab:docLineno

This commit is contained in:
Maksim Shabunin
2015-05-04 09:48:06 +00:00
44 changed files with 45 additions and 44 deletions

View File

@@ -16,7 +16,7 @@ Source Code
Download the source code from
[here](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/introduction/display_image/display_image.cpp).
@includelineno cpp/tutorial_code/introduction/display_image/display_image.cpp
@include cpp/tutorial_code/introduction/display_image/display_image.cpp
Explanation
-----------

View File

@@ -415,7 +415,8 @@ you can manually specify it in curly braces:
To include whole example file into documentation, _include_ and _includelineno_ commands are used.
The file is searched in common samples locations, so you can specify just its name or short part of
the path. The _includelineno_ version also shows line numbers.
the path. The _includelineno_ version also shows line numbers but prevents copy-pasting since
the line numbers are included.
@verbatim
@include samples/cpp/test.cpp

View File

@@ -193,7 +193,7 @@ Now to try this out download our little test [source code
or get it from the sample code folder of the OpenCV sources. Add this to your project and build it.
Here's its content:
@includelineno cpp/tutorial_code/introduction/windows_visual_studio_Opencv/introduction_windows_vs.cpp
@include cpp/tutorial_code/introduction/windows_visual_studio_Opencv/introduction_windows_vs.cpp
You can start a Visual Studio build from two places. Either inside from the *IDE* (keyboard
combination: Control-F5) or by navigating to your build directory and start the application with a