Bazel DevSite: Add "create issue" & "view source" buttons to narrative documentation.
A future change will add the buttons to the reference docs (which is a bit more complex since there is no 1:1 relation between displayed page and source file).
PiperOrigin-RevId: 486889786
Change-Id: I2d0d1963f7c82ab7b17dbe257196e4f105fe94cb
diff --git a/site/en/tutorials/ccp-toolchain-config.md b/site/en/tutorials/ccp-toolchain-config.md
index 4e54356..172cb4d 100644
--- a/site/en/tutorials/ccp-toolchain-config.md
+++ b/site/en/tutorials/ccp-toolchain-config.md
@@ -3,6 +3,8 @@
# Bazel Tutorial: Configure C++ Toolchains
+{% include "_buttons.html" %}
+
This tutorial uses an example scenario to describe how to configure C++
toolchains for a project. It's based on an
[example C++ project](https://github.com/bazelbuild/examples/tree/master/cpp-tutorial/stage1)
diff --git a/site/en/tutorials/cpp-dependency.md b/site/en/tutorials/cpp-dependency.md
index 0f56fd7..5a99862 100644
--- a/site/en/tutorials/cpp-dependency.md
+++ b/site/en/tutorials/cpp-dependency.md
@@ -3,6 +3,8 @@
# Review the dependency graph
+{% include "_buttons.html" %}
+
A successful build has all of its dependencies explicitly stated in the `BUILD`
file. Bazel uses those statements to create the project's dependency graph,
which enables accurate incremental builds.
diff --git a/site/en/tutorials/cpp-labels.md b/site/en/tutorials/cpp-labels.md
index 612538d..f60d85e 100644
--- a/site/en/tutorials/cpp-labels.md
+++ b/site/en/tutorials/cpp-labels.md
@@ -3,6 +3,8 @@
# Use labels to reference targets
+{% include "_buttons.html" %}
+
In `BUILD` files and at the command line, Bazel uses *labels* to reference
targets - for example, `//main:hello-world` or `//lib:hello-time`. Their syntax
is:
diff --git a/site/en/tutorials/cpp-use-cases.md b/site/en/tutorials/cpp-use-cases.md
index 4feaf27..5c5acfd 100644
--- a/site/en/tutorials/cpp-use-cases.md
+++ b/site/en/tutorials/cpp-use-cases.md
@@ -3,6 +3,8 @@
# Common C++ Build Use Cases
+{% include "_buttons.html" %}
+
Here you will find some of the most common use cases for building C++ projects
with Bazel. If you have not done so already, get started with building C++
projects with Bazel by completing the tutorial