From c1cb4eee41181f0458ce4908a01a6863860efd00 Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Thu, 3 Jul 2025 10:14:52 +0200 Subject: [PATCH] Make doc preview more prominent and remove headings I think the content is self-explanatory, and the huge header is not adding value. I think the primary action should be the biggest text. I'd like to see that become a button though. --- readthedocs/templates/core/build-overview.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/readthedocs/templates/core/build-overview.md b/readthedocs/templates/core/build-overview.md index d7bd18c0f06..1a218d40246 100644 --- a/readthedocs/templates/core/build-overview.md +++ b/readthedocs/templates/core/build-overview.md @@ -4,13 +4,10 @@ Template used for generating the build overview page that is posted as a comment Whitespaces and newlines are important in some places like lists and tables, make sure to adjust the tags accordingly, as they introduce newlines. {% endcomment %} -## Documentation build overview -> 📚 [{{ project.name }}](https://{{ PRODUCTION_DOMAIN }}{% url "projects_detail" project.slug %}) | 🛠️ build [#{{ current_version_build.pk }}](https://{{ PRODUCTION_DOMAIN }}{% url "builds_detail" project.slug current_version_build.pk %}) ({{ current_version_build.commit }}) | 🔍 [preview]({{ current_version.get_absolute_url }}) +#### [View documentation preview]({{ current_version.get_absolute_url }}) -### Files changed - -> Comparing with [{{ base_version.verbose_name }}]({{ base_version.get_absolute_url }}) ({{ base_version_build.commit }}) +> 📚 [{{ project.name }}](https://{{ PRODUCTION_DOMAIN }}{% url "projects_detail" project.slug %}) | 🛠️ Build [#{{ current_version_build.pk }}](https://{{ PRODUCTION_DOMAIN }}{% url "builds_detail" project.slug current_version_build.pk %}) ({{ current_version_build.commit }}) | comparing [{{ base_version.verbose_name }}]({{ base_version.get_absolute_url }}) ({{ base_version_build.commit }}) {% if diff.files %}