From 1a9600b704baef748fcc38c577f098aa3c79e2b6 Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Tue, 4 Apr 2017 12:27:31 -0700 Subject: [PATCH] doc: add labels to sample docs Docs need a label at the top so we can use :ref:`labelname` to create a link to that doc from other docs. Change-Id: Ie5ff404ac23621dbcf6ca61734ed6f72832c1ce2 Signed-off-by: David B. Kinder --- samples/grove/grove.rst | 2 ++ samples/grove/lcd/README.rst | 2 ++ samples/philosophers/README.rst | 2 ++ samples/power/power.rst | 2 ++ samples/power/power_mgr/README.rst | 2 ++ samples/subsys/console/console.rst | 2 ++ samples/subsys/subsys.rst | 2 ++ 7 files changed, 14 insertions(+) diff --git a/samples/grove/grove.rst b/samples/grove/grove.rst index 0644533212..5b145e7f00 100644 --- a/samples/grove/grove.rst +++ b/samples/grove/grove.rst @@ -1,3 +1,5 @@ +.. _grove-kit-samples: + Grove Kit Samples ################# diff --git a/samples/grove/lcd/README.rst b/samples/grove/lcd/README.rst index 139d737a91..09d2c7900f 100644 --- a/samples/grove/lcd/README.rst +++ b/samples/grove/lcd/README.rst @@ -1,3 +1,5 @@ +.. _grove-lcd-sample: + Grove LCD ######### diff --git a/samples/philosophers/README.rst b/samples/philosophers/README.rst index c398bb63ae..a15e4ee775 100644 --- a/samples/philosophers/README.rst +++ b/samples/philosophers/README.rst @@ -1,3 +1,5 @@ +.. _dining-philosophers-sample: + Dining Philosophers ################### diff --git a/samples/power/power.rst b/samples/power/power.rst index 5b3c7ebd36..2c9983cbad 100644 --- a/samples/power/power.rst +++ b/samples/power/power.rst @@ -1,3 +1,5 @@ +.. _power-management-samples: + Power Management Samples ######################## diff --git a/samples/power/power_mgr/README.rst b/samples/power/power_mgr/README.rst index 4025abe5e2..9a9022203e 100644 --- a/samples/power/power_mgr/README.rst +++ b/samples/power/power_mgr/README.rst @@ -1,3 +1,5 @@ +.. _power-mgr-sample: + Power management demo ##################### diff --git a/samples/subsys/console/console.rst b/samples/subsys/console/console.rst index a5f6b58c66..eb9a512766 100644 --- a/samples/subsys/console/console.rst +++ b/samples/subsys/console/console.rst @@ -1,3 +1,5 @@ +.. _console-samples: + Console Samples ############### diff --git a/samples/subsys/subsys.rst b/samples/subsys/subsys.rst index cc1b0ddb7f..0ea09d7a7d 100644 --- a/samples/subsys/subsys.rst +++ b/samples/subsys/subsys.rst @@ -1,3 +1,5 @@ +.. _subsystem-samples: + Various Subsystems Samples ##########################