Commit 97a036b7 authored by Victor Poughon's avatar Victor Poughon
Browse files

REFAC: sort cookbook examples & fix ApplicationExample

No related merge requests found
Showing with 1 addition and 9 deletions
+1 -9
......@@ -115,7 +115,7 @@ if __name__ == "__main__":
args = parser.parse_args()
# Get list of cxx examples as relative paths from otb_root
list_of_examples = [os.path.relpath(p, start=args.otb_root) for p in glob.glob(join(args.otb_root, "Examples/*/*.cxx"))]
list_of_examples = [os.path.relpath(p, start=args.otb_root) for p in sorted(glob.glob(join(args.otb_root, "Examples/*/*.cxx")))]
print("Generating rst for {} examples".format(len(list_of_examples)))
# Generate example index and tag indexes
......
......@@ -18,12 +18,6 @@
* limitations under the License.
*/
/* Example usage:
./ApplicationExample Input/QB_Suburb.png Output/ApplicationExample.png
*/
// This example illustrates the creation of an application.
// A new application is a class, which derives from \subdoxygen{otb}{Wrapper}{Application} class.
// We start by including the needed header files.
......@@ -213,6 +207,4 @@ private:
} // namespace otb
// Finally \code{OTB\_APPLICATION\_EXPORT} is called:
// Software Guide :BeginCodeSnippet
OTB_APPLICATION_EXPORT(otb::Wrapper::ApplicationExample)
// Software Guide :EndCodeSnippet
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment