Fix links for "aspect_hints" (#299)
diff --git a/src/main/java/com/google/devtools/build/stardoc/renderer/RendererMain.java b/src/main/java/com/google/devtools/build/stardoc/renderer/RendererMain.java
index 242e829..9981c80 100644
--- a/src/main/java/com/google/devtools/build/stardoc/renderer/RendererMain.java
+++ b/src/main/java/com/google/devtools/build/stardoc/renderer/RendererMain.java
@@ -285,6 +285,7 @@
private static final ImmutableSet<String> COMMON_BASE_ATTR_NAMES =
ImmutableSet.of(
+ "aspect_hints",
"compatible_with",
"deprecation",
"distribs",
diff --git a/test/testdata/symbolic_macro_inherit_attrs_test/golden.md b/test/testdata/symbolic_macro_inherit_attrs_test/golden.md
index 5af995a..7b7f0f3 100644
--- a/test/testdata/symbolic_macro_inherit_attrs_test/golden.md
+++ b/test/testdata/symbolic_macro_inherit_attrs_test/golden.md
@@ -23,7 +23,7 @@
| :------------- | :------------- | :------------- | :------------- | :------------- |
| <a id="inherit_from_common-name"></a>name | A unique name for this macro instance. Normally, this is also the name for the macro's main or only target. The names of any other targets that this macro might create will be this name with a string suffix. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
| <a id="inherit_from_common-srcs"></a>srcs | Source files | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `[]` |
-| <a id="inherit_from_common-aspect_hints"></a>aspect_hints | Inherited rule attribute | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
+| <a id="inherit_from_common-aspect_hints"></a>aspect_hints | <a href="https://bazel.build/reference/be/common-definitions#common.aspect_hints">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
| <a id="inherit_from_common-compatible_with"></a>compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_common-deprecation"></a>deprecation | <a href="https://bazel.build/reference/be/common-definitions#common.deprecation">Inherited rule attribute</a> | String; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_common-exec_compatible_with"></a>exec_compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.exec_compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
@@ -111,7 +111,7 @@
| <a id="inherit_from_rule-deps"></a>deps | Dependencies | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
| <a id="inherit_from_rule-srcs"></a>srcs | Source files | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `[]` |
| <a id="inherit_from_rule-args"></a>args | Arguments | List of strings | required | |
-| <a id="inherit_from_rule-aspect_hints"></a>aspect_hints | Inherited rule attribute | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
+| <a id="inherit_from_rule-aspect_hints"></a>aspect_hints | <a href="https://bazel.build/reference/be/common-definitions#common.aspect_hints">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
| <a id="inherit_from_rule-compatible_with"></a>compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_rule-deprecation"></a>deprecation | <a href="https://bazel.build/reference/be/common-definitions#common.deprecation">Inherited rule attribute</a> | String; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_rule-exec_compatible_with"></a>exec_compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.exec_compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
@@ -151,7 +151,7 @@
| <a id="inherit_from_rule_no_doc-deps"></a>deps | Dependencies | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
| <a id="inherit_from_rule_no_doc-srcs"></a>srcs | Source files | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `[]` |
| <a id="inherit_from_rule_no_doc-args"></a>args | Arguments | List of strings | required | |
-| <a id="inherit_from_rule_no_doc-aspect_hints"></a>aspect_hints | Inherited rule attribute | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
+| <a id="inherit_from_rule_no_doc-aspect_hints"></a>aspect_hints | <a href="https://bazel.build/reference/be/common-definitions#common.aspect_hints">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
| <a id="inherit_from_rule_no_doc-compatible_with"></a>compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_rule_no_doc-deprecation"></a>deprecation | <a href="https://bazel.build/reference/be/common-definitions#common.deprecation">Inherited rule attribute</a> | String; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_rule_no_doc-exec_compatible_with"></a>exec_compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.exec_compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
@@ -190,7 +190,7 @@
| <a id="inherit_from_rule_with_overrides-name"></a>name | A unique name for this macro instance. Normally, this is also the name for the macro's main or only target. The names of any other targets that this macro might create will be this name with a string suffix. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
| <a id="inherit_from_rule_with_overrides-srcs"></a>srcs | Source files | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `[]` |
| <a id="inherit_from_rule_with_overrides-args"></a>args | Override docs for Arguments | List of strings | required | |
-| <a id="inherit_from_rule_with_overrides-aspect_hints"></a>aspect_hints | Inherited rule attribute | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
+| <a id="inherit_from_rule_with_overrides-aspect_hints"></a>aspect_hints | <a href="https://bazel.build/reference/be/common-definitions#common.aspect_hints">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `None` |
| <a id="inherit_from_rule_with_overrides-compatible_with"></a>compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_rule_with_overrides-deprecation"></a>deprecation | <a href="https://bazel.build/reference/be/common-definitions#common.deprecation">Inherited rule attribute</a> | String; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |
| <a id="inherit_from_rule_with_overrides-exec_compatible_with"></a>exec_compatible_with | <a href="https://bazel.build/reference/be/common-definitions#common.exec_compatible_with">Inherited rule attribute</a> | <a href="https://bazel.build/concepts/labels">List of labels</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | optional | `None` |