diff --git a/_data/sidebar_api.yml b/_data/sidebar_api.yml
index ed42a7e..d30b744 100644
--- a/_data/sidebar_api.yml
+++ b/_data/sidebar_api.yml
@@ -4,10 +4,14 @@
- group: lorem
-- type: link
- url: /api/deprecated/
+- group: deprecated
+ expand: false
title: Deprecated
-- type: link
- url: /api/removed/
+- group: removed
+ expand: false
title: Removed
+
+- type: link
+ url: /api/foo/quux/
+ title: Quux
diff --git a/_includes/version.html b/_includes/version.html
index 24077fb..d1f9bd0 100644
--- a/_includes/version.html
+++ b/_includes/version.html
@@ -22,7 +22,7 @@
{%- endif -%}
{%- if include.version == "unreleased" -%}
-not yet released
+not yet released.
{%- else -%}
-{{ include.label }}: {% if site.amethyst.release_base %}{{ include.version | escape }}{% else %}{{ include.version | escape }}{% endif %}
+{{ include.label }}: {% if site.amethyst.release_base %}{{ include.version | escape }}{% else %}{{ include.version | escape }}{% endif %}.
{%- endif -%}
diff --git a/_layouts/page-api.html b/_layouts/page-api.html
index cadf07b..a8c59e8 100644
--- a/_layouts/page-api.html
+++ b/_layouts/page-api.html
@@ -27,29 +27,38 @@
+
+
{{ page.title }}
- {%- if page.version_added or page.version_deprecated -%}
+ {% if page.groups -%}
+ Categories: {% comment %} space {% endcomment -%}
+ {%- for group in page.groups -%}
+ {%- if page.groups.first != group %}, {% endif -%}
+ {%- assign group_page = site.pages | where: "layout", "group" | where: "group", group | first -%}
+ {{ group_page.title | escape }}
+ {%- endfor -%}
+ .
+ {%- endif %}
+
+ {% if page.version_added or page.version_deprecated -%}
{%- assign warning = false -%}
{%- if page.version_added == "unreleased" or page.version_deprecated or page.version_removed -%}
{%- assign warning = true -%}
{%- endif -%}
-
-
- {%- capture lines -%}
- {%- if page.version_added %}
- {% include version.html version=page.version_added label="version added" %}
- {%- endif -%}
- {%- if page.version_deprecated %}
- {% include version.html version=page.version_deprecated label="deprecated" %}
- {%- endif -%}
- {%- if page.version_removed %}
- {% include version.html version=page.version_removed label="removed" %}
- {%- endif -%}
- {%- endcapture -%}
- {{ lines | strip | newline_to_br }}
-
+
+ {%- if page.version_added %}
+ {% include version.html version=page.version_added label="version added" %}
+ {%- endif -%}
+ {%- if page.version_deprecated %}
+ {% include version.html version=page.version_deprecated label="deprecated" %}
+ {%- endif -%}
+ {%- if page.version_removed %}
+ {% include version.html version=page.version_removed label="removed" %}
+ {%- endif -%}
+
{%- endif %}
- {{- content }}
+ {{ content }}
+
{%- assign toc = true -%}
{%- if layout.amethyst.toc == false -%}
diff --git a/_layouts/post.html b/_layouts/post.html
index 16047e8..e917285 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -3,15 +3,15 @@
---
-
-
+
+
{{ content }}
-
+
{%- comment -%}
Support basic read-only rendering of imported comments.
diff --git a/_sass/amethyst.scss b/_sass/amethyst.scss
index bb249a4..8d66910 100644
--- a/_sass/amethyst.scss
+++ b/_sass/amethyst.scss
@@ -826,9 +826,16 @@ table {
text-align: left;
border-width: 1px;
border-style: solid;
+
+ .sep {
+ display: block;
+ width: 0px;
+ height: 0px;
+ overflow: hidden;
+ }
}
}
-.version-details:not(.note--warning) {
+.version-details {
background: $color-light;
border-color: $color-off-white;
}