aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar dannark <dannark@google.com>2018-07-19 12:21:45 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-19 12:23:31 -0700
commit96829fef59ca2400d274b402fa9fb7ea1eda0982 (patch)
tree8b7cd4a2dc2d785726368c8a4f3e09d2bc63ed40 /site
parenta68ed0e8e2e7b36209734899f3aa72e2a987dbc9 (diff)
Fix multi line code blocks
RELNOTES: None PiperOrigin-RevId: 205281433
Diffstat (limited to 'site')
-rw-r--r--site/docs/external.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/site/docs/external.md b/site/docs/external.md
index 4b19e9695a..2b21421922 100644
--- a/site/docs/external.md
+++ b/site/docs/external.md
@@ -145,6 +145,7 @@ in your final binary. But for cases where this isn't true, it is possible to
shadow dependencies. Consider the following scenario:
myproject/WORKSPACE
+
```python
local_repository(
name = "A",
@@ -157,6 +158,7 @@ local_repository(
```
A/WORKSPACE
+
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
@@ -167,6 +169,7 @@ http_archive(
```
B/WORKSPACE
+
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
@@ -181,6 +184,7 @@ different versions of `testrunner`. There is no reason for these test runners to
not peacefully coexist within `myproject`, however they will clash with each
other since they have the same name. To declare both dependencies,
update myproject/WORKSPACE:
+
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(