diff --git a/doc/read.md b/doc/read.md index d81c386..0aec10e 100644 --- a/doc/read.md +++ b/doc/read.md @@ -102,5 +102,5 @@ This is named cloning: All example file {#ejson_tutorial_read_all} ================ -@snippet read.cpp ejson_sample_read_all +@include read.cpp diff --git a/doc/write.md b/doc/write.md index 1f9a4d4..d186645 100644 --- a/doc/write.md +++ b/doc/write.md @@ -64,5 +64,5 @@ Then if you asign an element to an other, it is the same. You need to clone it i All example file {#ejson_tutorial_write_all} ================ -@snippet write.cpp ejson_sample_write_all +@include write.cpp diff --git a/sample/read.cpp b/sample/read.cpp index 4f0774e..f27ef34 100644 --- a/sample/read.cpp +++ b/sample/read.cpp @@ -4,7 +4,6 @@ * @license APACHE v2.0 (see license file) */ -//! [ejson_sample_read_all] #include //! [ejson_sample_include] #include @@ -274,4 +273,3 @@ void appl::read() { readFromString1(); readFull(); } -//! [ejson_sample_read_all] \ No newline at end of file diff --git a/sample/write.cpp b/sample/write.cpp index c81f7c6..c4d1d8b 100644 --- a/sample/write.cpp +++ b/sample/write.cpp @@ -4,7 +4,6 @@ * @license APACHE v2.0 (see license file) */ -//! [ejson_sample_write_all] #include #include #include "write.h" @@ -93,5 +92,4 @@ void appl::write() { writeToString(); writeAll(); } -//! [ejson_sample_write_all]