[dpdk-dev] [PATCH v2] doc/sample_app_ug: use code snippets in sample app guides

Thomas Monjalon thomas at monjalon.net
Sat Jul 31 15:46:51 CEST 2021


> Currently the sample app user guides use hard coded code snippets,
> this patch changes these to use literalinclude which will dynamically
> update the snippets as changes are made to the code.
> This was introduced in commit 413c75c33c40 ("doc: show how to include
> code in guides"). Comments within the sample apps were updated to
> accommodate this as part of this patch. This will help to ensure that
> the code within the sample app user guides is up to date and not out
> of sync with the actual code.
> 
> Signed-off-by: Conor Fogarty <conor.fogarty at intel.com>
> Signed-off-by: Conor Walsh <conor.walsh at intel.com>
> Acked-by: John McNamara <john.mcnamara at intel.com>

Applied, thanks





More information about the dev mailing list