aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt
diff options
context:
space:
mode:
authorGravatar cparsons <cparsons@google.com>2018-07-09 11:06:57 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-09 11:10:53 -0700
commitfc0e52f975c846f3582cd960bb6562aba2da2cbe (patch)
tree06a94cebf89b6f862f02132ed1af7b081649af50 /src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt
parentd039f62a1c551d84f82b5253e75604ac15d89cb0 (diff)
Simple Markdown rendering for skydoc
This uses apache velocity engine templates to create markdown-HTML. There are other alternatives, but there is already precedent for depending on this library from docgen. RELNOTES: None. PiperOrigin-RevId: 203795431
Diffstat (limited to 'src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt')
-rw-r--r--src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt38
1 files changed, 36 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt b/src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt
index ab79bcf5d6..44040ee908 100644
--- a/src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt
+++ b/src/test/java/com/google/devtools/build/skydoc/testdata/unknown_name_test/golden.txt
@@ -1,3 +1,37 @@
-<unknown name>
-first,second,third,fourth
+<a name="#<unknown name>"></a>
+## <unknown name>
+
+<pre>
+<unknown name>(first, fourth, second, third)
+</pre>
+
+
+
+### Attributes
+
+<table class="params-table">
+ <colgroup>
+ <col class="col-param" />
+ <col class="col-description" />
+ </colgroup>
+ <tbody>
+ <tr id="#<unknown name>_first">
+ <td><code>first</code></td>
+ <td></td>
+ </tr>
+ <tr id="#<unknown name>_fourth">
+ <td><code>fourth</code></td>
+ <td></td>
+ </tr>
+ <tr id="#<unknown name>_second">
+ <td><code>second</code></td>
+ <td></td>
+ </tr>
+ <tr id="#<unknown name>_third">
+ <td><code>third</code></td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>
+