From 6c31578a7128f783b0c4bf2416aa8a0c8d4ea58e Mon Sep 17 00:00:00 2001 From: Googler Date: Fri, 4 Aug 2017 20:03:30 +0200 Subject: Add a TOC to the C++ tutorial. RELNOTES: None. PiperOrigin-RevId: 164283165 --- site/docs/tutorial/cpp.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'site') diff --git a/site/docs/tutorial/cpp.md b/site/docs/tutorial/cpp.md index 95898e3e80..36de924898 100644 --- a/site/docs/tutorial/cpp.md +++ b/site/docs/tutorial/cpp.md @@ -25,6 +25,22 @@ In this tutorial you'll learn how to: * Control target visibility across packages * Reference targets through labels +## Contents + +* [Before you begin](#before-you-begin) + * [Install Bazel](#install-bazel) + * [Get the sample project](#get-the-sample-project) +* [Build with Bazel](#build-with-bazel) + * [Set up the workspace](#set-up-the-workspace) + * [Understand the BUILD file](#understand-the-build-file) + * [Build the project](#build-the-project) + * [Review the dependency graph](#review-the-dependency-graph) +* [Refine your Bazel build](#refine-your-bazel-build) + * [Specify multiple build targets](#specify-multiple-build-targets) + * [Use multiple packages](#use-multiple-packages) +* [Use labels to reference targets](#use-labels-to-reference-targets) +* [Further reading](#further-reading) + ## Before you begin To prepare for the tutorial, first [Install Bazel](../install.md) if -- cgit v1.2.3