add config_apis_test test target and rename its golden file
diff --git a/test/BUILD b/test/BUILD
index 8bc544f..bc87007 100644
--- a/test/BUILD
+++ b/test/BUILD
@@ -233,10 +233,16 @@
 
 stardoc_test(
     name = "attribute_defaults_test",
-    golden_file = "testdata/attribute_defaults_test/golden.txt",
+    golden_file = "testdata/attribute_defaults_test/golden.md",
     input_file = "testdata/attribute_defaults_test/input.bzl",
 )
 
+stardoc_test(
+    name = "config_apis_test",
+    golden_file = "testdata/config_apis_test/golden.md",
+    input_file = "testdata/config_apis_test/input.bzl",
+)
+
 genrule(
     name = "generate_bzl_test_dep",
     srcs = ["testdata/generated_bzl_test/dep.bzl.tpl"],
diff --git a/test/testdata/attribute_defaults_test/golden.txt b/test/testdata/attribute_defaults_test/golden.md
old mode 100644
new mode 100755
similarity index 100%
rename from test/testdata/attribute_defaults_test/golden.txt
rename to test/testdata/attribute_defaults_test/golden.md
diff --git a/test/testdata/config_apis_test/golden.md b/test/testdata/config_apis_test/golden.md
new file mode 100755
index 0000000..7cdab56
--- /dev/null
+++ b/test/testdata/config_apis_test/golden.md
@@ -0,0 +1,70 @@
+<!-- Generated with Stardoc: http://skydoc.bazel.build -->
+
+<a name="#int_setting"></a>
+
+## int_setting
+
+<pre>
+int_setting(<a href="#int_setting-name">name</a>)
+</pre>
+
+
+
+**ATTRIBUTES**
+
+
+| Name  | Description | Type | Mandatory | Default |
+| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
+| name |  A unique name for this target.   | <a href="https://bazel.build/docs/build-ref.html#name">Name</a> | required |  |
+
+
+<a name="#string_flag"></a>
+
+## string_flag
+
+<pre>
+string_flag(<a href="#string_flag-name">name</a>)
+</pre>
+
+
+
+**ATTRIBUTES**
+
+
+| Name  | Description | Type | Mandatory | Default |
+| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: |
+| name |  A unique name for this target.   | <a href="https://bazel.build/docs/build-ref.html#name">Name</a> | required |  |
+
+
+<a name="#exercise_the_api"></a>
+
+## exercise_the_api
+
+<pre>
+exercise_the_api()
+</pre>
+
+
+
+**PARAMETERS**
+
+
+
+<a name="#transition_func"></a>
+
+## transition_func
+
+<pre>
+transition_func(<a href="#transition_func-settings">settings</a>)
+</pre>
+
+A no-op transition function.
+
+**PARAMETERS**
+
+
+| Name  | Description | Default Value |
+| :-------------: | :-------------: | :-------------: |
+| settings |  <p align="center"> - </p>   |  none |
+
+