diff options
author | 2015-10-23 11:01:22 +0000 | |
---|---|---|
committer | 2015-10-23 14:56:56 +0000 | |
commit | 76fa4a492b812313d2036475c73e0997febf4c81 (patch) | |
tree | 3b4d7fd896b4620c1b7570431cc95bcd1d098bc3 /tools/build_defs/jsonnet | |
parent | b333b176bd81110933949205b6d97435846bf798 (diff) |
Tweak styling of Skylark rule READMEs to be consistent when viewed on
external site.
--
MOS_MIGRATED_REVID=106135529
Diffstat (limited to 'tools/build_defs/jsonnet')
-rw-r--r-- | tools/build_defs/jsonnet/README.md | 44 |
1 files changed, 28 insertions, 16 deletions
diff --git a/tools/build_defs/jsonnet/README.md b/tools/build_defs/jsonnet/README.md index 7d28f15133..72a21ec9bb 100644 --- a/tools/build_defs/jsonnet/README.md +++ b/tools/build_defs/jsonnet/README.md @@ -1,10 +1,13 @@ # Jsonnet Rules -## Rules - -* [`jsonnet_library`](#jsonnet_library) -* [`jsonnet_to_json`](#jsonnet_to_json) -* [`jsonnet_to_json_test`](#jsonnet_to_json_test) +<div class="toc"> + <h2>Rules</h2> + <ul> + <li><a href="#jsonnet_library">jsonnet_library</a></li> + <li><a href="#jsonnet_to_json">jsonnet_to_json</a></li> + <li><a href="#jsonnet_to_json_test">jsonnet_to_json_test</a></li> + </ul> +</div> ## Overview @@ -24,11 +27,14 @@ your `WORKSPACE` file. jsonnet_library(name, srcs, deps, imports) ``` -<table> +<table class="table table-condensed table-bordered table-params"> + <colgroup> + <col class="col-param" /> + <col class="param-description" /> + </colgroup> <thead> <tr> - <th>Attribute</th> - <th>Description</th> + <th colspan="2">Attributes</th> </tr> </thead> <tbody> @@ -103,17 +109,20 @@ jsonnet_library( ``` <a name="#jsonnet_to_json"></a> -## jsonnet_to_json +## jsonnet\_to\_json ```python jsonnet_to_json(name, src, deps, outs, multiple_outputs, imports, vars, code_vars) ``` -<table> +<table class="table table-condensed table-bordered table-params"> + <colgroup> + <col class="col-param" /> + <col class="param-description" /> + </colgroup> <thead> <tr> - <th>Attribute</th> - <th>Description</th> + <th colspan="2">Attributes</th> </tr> </thead> <tbody> @@ -330,17 +339,20 @@ jsonnet_to_json( [multiple-output-files]: http://google.github.io/jsonnet/doc/commandline.html <a name="#jsonnet_to_json_test"></a> -## jsonnet_to_json_test +## jsonnet\_to\_json\_test ```python jsonnet_to_json_test(name, src, deps, imports, golden, error=0, regex=False) ``` -<table> +<table class="table table-condensed table-bordered table-params"> + <colgroup> + <col class="col-param" /> + <col class="param-description" /> + </colgroup> <thead> <tr> - <th>Attribute</th> - <th>Description</th> + <th colspan="2">Attributes</th> </tr> </thead> <tbody> |