Skip to content

Commit ad6ce6e

Browse files
committed
Updates based on feedback
1 parent 950db4b commit ad6ce6e

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

readthedocs/core/views/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def get_context_data(self, **kwargs):
4040
"""Add latest builds and featured projects."""
4141
context = super(HomepageView, self).get_context_data(**kwargs)
4242
context['featured_list'] = Project.objects.filter(featured=True)
43+
context['projects_count'] = Project.objects.count()
4344
return context
4445

4546

readthedocs/templates/homepage.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{% extends "base.html" %}
22

33
{% load i18n %}
4-
4+
{% load humanize %}
55
{% load pagination_tags %}
66

77
{% block extra_metas %}
8-
<meta name="description" content="{% trans "Read the Docs simplifies technical documentation by automating building, versioning, and hosting for you. Build up-to-date documentation for the web, print, and eReaders on every version control push automatically." %}">
8+
<meta name="description" content="{% trans "Read the Docs simplifies technical documentation by automating building, versioning, and hosting for you. Build up-to-date documentation for the web, print, and offline use on every version control push automatically." %}">
99
{% endblock extra_metas %}
1010

1111
{% block title %}{% trans "Home" %}{% endblock %}
@@ -54,23 +54,25 @@ <h2>{% trans "Technical documentation lives here" %}</h2>
5454

5555
<section>
5656
<div class="feature">
57-
<h3>Webhooks</h3>
57+
<h3>Free docs hosting</h3>
5858
<p>
59+
{% with projects_count_intcomma=projects_count|intcomma %}
5960
{% blocktrans %}
60-
Whenever you push code to your favorite version control system,
61-
whether that is Git, Mercurial, Bazaar, or Subversion, we will
62-
automatically build your docs so your code and documentation are
63-
never out of sync.
61+
We will host your documentation for free forever.
62+
There are no tricks. We help {{ projects_count_intcomma }} open source projects
63+
share their docs.
6464
{% endblocktrans %}
65+
{% endwith %}
6566
</p>
6667
</div>
6768
<div class="feature">
68-
<h3>Free docs hosting</h3>
69+
<h3>Webhooks</h3>
6970
<p>
7071
{% blocktrans %}
71-
We will host your documentation for free forever.
72-
There are no tricks. We help thousands of open source projects
73-
share their docs.
72+
Whenever you push code to your favorite version control system,
73+
whether that is Git, Mercurial, Bazaar, or Subversion, we will
74+
automatically build your docs so your code and documentation are
75+
never out of sync.
7476
{% endblocktrans %}
7577
</p>
7678
</div>
@@ -83,8 +85,8 @@ <h3>Multiple formats</h3>
8385
<p>
8486
{% blocktrans %}
8587
Of course we build and host your docs for the web, but they are
86-
also vieweable as PDFs, epubs (for eReaders), and as single page
87-
HTML documents. No additional configuration is required.
88+
also vieweable as PDFs, as single page HTML, and for eReaders.
89+
No additional configuration is required.
8890
{% endblocktrans %}
8991
</p>
9092
</div>
@@ -94,7 +96,7 @@ <h3>Multiple versions</h3>
9496
{% blocktrans %}
9597
We can host and build multiple versions of your docs so having a
9698
1.0 version of your docs and a 2.0 version of your docs is as easy
97-
as having a separate branch or tag in version control.
99+
as having a separate branch or tag in your version control system.
98100
{% endblocktrans %}
99101
</p>
100102
</div>

0 commit comments

Comments
 (0)