docs: example.adoc: use file names as heading titles
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Sep 2020 14:14:35 +0000 (10:14 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Sep 2020 14:14:35 +0000 (10:14 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
docs/modules/platform/pages/example.adoc

index af64947f8524a2285b40b85998588741c483f420..2a66bd0619a66168e0c20464d91554124639437b 100644 (file)
@@ -4,9 +4,8 @@
 This barectf platform example is a stripped-down version of the
 https://github.com/efficios/barectf/tree/stable-{page-component-version}/platforms/linux-fs[Linux FS demonstration platform].
 
-== Header
+== `my-platform.h`
 
-.`my-platform.h`
 [source,c]
 ----
 #ifndef _MY_PLATFORM_H
@@ -40,9 +39,8 @@ struct barectf_my_stream_ctx *my_platform_get_barectf_ctx(
 #endif /* _MY_PLATFORM_H */
 ----
 
-== Source
+== `my-platform.c`
 
-.`my-platform.c`
 [source,c]
 ----
 #include <stdio.h>
This page took 0.024155 seconds and 4 git commands to generate.