Skip to content

Commit b12f57c

Browse files
authored
Tune docs links on dashboard (#182)
* Tune docs links on dashboard Drop redundant "Tutorial:" prefix for a header instead, and split links up into tutorial/reference lists. * Mark as translatable
1 parent 9020fca commit b12f57c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

readthedocsext/theme/templates/projects/base_dashboard.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@
2424
</a>
2525
<div class="meta">{% trans "Some resources from our documentation" %}</div>
2626
<div class="description">
27+
<div class="ui mini header">{% trans "Tutorials" %}</div>
28+
<div class="ui bulleted list">
29+
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/tutorial/index.html" text="Getting started" is_external=True class="item" %}
30+
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/getting-started-with-sphinx.html" text="Getting started with Sphinx" is_external=True class="item" %}
31+
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/getting-started-with-mkdocs.html" text="Getting started with MkDocs" is_external=True class="item" %}
32+
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/import-guide.html" text="Creating a project" is_external=True class="item" %}
33+
</div>
34+
35+
<div class="ui mini header">{% trans "Reference" %}</div>
2736
<div class="ui bulleted list">
28-
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/tutorial/index.html" text="Tutorial: Getting started" is_external=True class="item" %}
29-
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/getting-started-with-sphinx.html" text="Tutorial: Getting started with Sphinx" is_external=True class="item" %}
30-
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/getting-started-with-mkdocs.html" text="Tutorial: Getting started with MkDocs" is_external=True class="item" %}
31-
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/import-guide.html" text="Tutorial: Importing your documentation" is_external=True class="item" %}
3237
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/config-file/index.html" text="Configuration file reference" is_external=True class="item" %}
3338
{% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/build-customization.html" text="Build process customization" is_external=True class="item" %}
3439
</div>

0 commit comments

Comments
 (0)