diff --git a/src/html/templates/styles.css b/src/html/templates/styles.css
index 9d3f50a4..0eb9a3b0 100644
--- a/src/html/templates/styles.css
+++ b/src/html/templates/styles.css
@@ -62,7 +62,7 @@ a {
}
#sidepanel a {
display: block;
- padding: 8px 16px 8px 8px;
+ padding: 4px 8px 4px 4px;
border-radius: var(--general-border-radius) 0 0 var(--general-border-radius);
position: relative;
}
diff --git a/src/html/templates/version_index.html b/src/html/templates/version_index.html
index 89a2ddb6..32454e77 100644
--- a/src/html/templates/version_index.html
+++ b/src/html/templates/version_index.html
@@ -11,10 +11,37 @@
Index
{#- TODO(bartlomieju): call into template here #}
- Module{ module_doc.url }
+ { module_doc.url }
{ module_doc.docs }
+
+ Modules
+
+ {{ for file in sidepanel_ctx.files }}
+ -
+ { file }
+
+ {{ endfor }}
+
+
+
+
+ APIs
+
+ {{ for kind in sidepanel_ctx.kind_partitions }}
+ -
+
{ kind.name }
+
+ {{ for symbol in kind.symbols }}
+ -
+ { symbol.name }
+
+ {{ endfor }}
+
+ {{ endfor }}
+
+
{{ call search_results.html with search_ctx }}
diff --git a/src/html/templates/version_sidepanel.html b/src/html/templates/version_sidepanel.html
index ef52ff6c..b3a2081a 100644
--- a/src/html/templates/version_sidepanel.html
+++ b/src/html/templates/version_sidepanel.html
@@ -3,6 +3,15 @@
All symbols
+ Modules
+
+ {{ for file in files }}
+ -
+ {file}
+
+ {{ endfor }}
+
+
APIs
{{ for kind in kind_partitions }}
@@ -18,13 +27,4 @@ { kind.name }
{{ endfor }}
-
- Modules
-
- {{ for file in files }}
- -
- {file}
-
- {{ endfor }}
-
\ No newline at end of file