diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/be-toc.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/be-toc.vm index bb0d01f416fbea..75a7bb2723ee44 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/be/be-toc.vm +++ b/src/main/java/com/google/devtools/build/docgen/templates/be/be-toc.vm @@ -9,7 +9,15 @@ toc: path: /reference/be/make-variables - title: Functions path: /reference/be/functions - - title: Language-specific rules + - title: Core rules + section: +#foreach ($ruleFamily in $genericRuleFamilies) +#if ($ruleFamily.size() > 0) + - title: ${ruleFamily.name} + path: /reference/be/${ruleFamily.id} +#end +#end + - title: Language Specific rules section: #foreach ($ruleFamily in $langSpecificRuleFamilies) #if ($ruleFamily.size() > 0) @@ -53,11 +61,3 @@ toc: - title: Scala path: https://github.com/bazelbuild/rules_scala status: external - - title: Language-agnostic rules - section: -#foreach ($ruleFamily in $genericRuleFamilies) -#if ($ruleFamily.size() > 0) - - title: ${ruleFamily.name} - path: /reference/be/${ruleFamily.id} -#end -#end diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/rules.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/rules.vm index d767dcd0388c77..a85a5d367b1fb3 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/be/rules.vm +++ b/src/main/java/com/google/devtools/build/docgen/templates/be/rules.vm @@ -19,6 +19,12 @@ ${ruleFamily.summary} +

Context

+This set of rules exist to help model specific hardware platforms you are +building for and the tools you may use to compile code for those platforms. +The user should be familiar with the concepts explained +here. + #if (!$singlePage)

Rules