// Copyright 2018 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.devtools.build.lib.skylarkbuildapi.platform;

import com.google.devtools.build.lib.skylarkbuildapi.StructApi;
import com.google.devtools.build.lib.skylarkinterface.SkylarkModule;
import com.google.devtools.build.lib.skylarkinterface.SkylarkModuleCategory;

/**
 * Info object representing data about a specific toolchain.
 */
@SkylarkModule(
    name = "ToolchainInfo",
    doc = "Provides access to data about a specific toolchain.",
    category = SkylarkModuleCategory.PROVIDER
)
public interface ToolchainInfoApi extends StructApi {
}

@@ -888,19 +888,16 @@
 ry;%0A%0A/**
-%0A *
  Info ob
@@ -946,17 +946,16 @@
 olchain.
-%0A
  */%0A@Sky
@@ -1003,16 +1003,24 @@
    doc =
+%0A       
  %22Provid
@@ -1024,50 +1024,228 @@
 vide
-s access to data about a specific toolchai
+r which allows rule-specific toolchains to communicate data back to the actual%22%0A            + %22 rule implementation. Read more about %3Ca%22%0A            + %22 href='../../toolchains.$DOC_EXT'%3Etoolchains%3C/a%3E for more informatio
 n.%22,
@@ -1290,17 +1290,16 @@
 PROVIDER
-%0A
 )%0Apublic
@@ -1345,11 +1345,10 @@
 uctApi %7B
-%0A
 %7D%0A

Improve the docs for ToolchainInfo and link to the main toolchains do?