From 96829fef59ca2400d274b402fa9fb7ea1eda0982 Mon Sep 17 00:00:00 2001 From: dannark Date: Thu, 19 Jul 2018 12:21:45 -0700 Subject: Fix multi line code blocks RELNOTES: None PiperOrigin-RevId: 205281433 --- site/docs/external.md | 4 ++++ 1 file changed, 4 insertions(+) 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( -- cgit v1.2.3