ref: b5b1a775307468ac9c3612d0d839ddd3bfe5930c
parent: 2504c94848538b1c219846bc3b43f77225e123b1
parent: 52e1465e995e3173e60e12b20a0feb0ea7fc9c10
author: Johann Koenig <[email protected]>
date: Mon Dec 17 18:07:38 EST 2018
Merge "doxygen: fix --disable-examples"
--- a/examples.mk
+++ b/examples.mk
@@ -404,3 +404,4 @@
DOCS-yes += examples.doxy samples.dox
examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox)
@echo "INPUT += $^" > $@
+ @echo "ENABLED_SECTIONS += samples" >> $@
--- a/mainpage.dox
+++ b/mainpage.dox
@@ -25,8 +25,10 @@
release.
- The \ref readme contains instructions on recompiling the sample applications.
- Read the \ref usage "usage" for a narrative on codec usage.
+ \if samples
- Read the \ref samples "sample code" for examples of how to interact with the
codec.
+ \endif
- \ref codec reference
\if encoder
- \ref encoder reference
--- a/usage_cx.dox
+++ b/usage_cx.dox
@@ -8,6 +8,8 @@
\ref usage_deadline.
+ \if samples
\ref samples
+ \endif
*/
--- a/usage_dx.dox
+++ b/usage_dx.dox
@@ -11,7 +11,9 @@
\ref usage_postproc based on the amount of free CPU time. For more
information on the <code>deadline</code> parameter, see \ref usage_deadline.
+ \if samples
\ref samples
+ \endif
\section usage_cb Callback Based Decoding