/
homepage.html
170 lines (149 loc) · 5.25 KB
/
homepage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{% extends "base.html" %}
{% load i18n %}
{% load humanize %}
{% load pagination_tags %}
{% load cache %}
{% block extra_metas %}
<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." %}">
{% endblock extra_metas %}
{% block title %}{% trans "Home" %}{% endblock %}
{% block body_class %}home {% if not request.user.is_authenticated %}splash{% endif %}{% endblock %}
{% block nav-browse %}class="active"{% endblock %}
{% block header-wrapper %}
{% if request.user.is_authenticated %}
{% include "core/header.html" %}
{% else %}
{% include "core/home-header.html" %}
{% endif %}
{% endblock %}
{% block extra_scripts %}
<script>
$(document).ready(function() {
// Show action on hover
$(".module-item-menu").hover(
function () {
$(".hidden-child", this).show();
}, function () {
$(".hidden-child", this).hide();
}
);
});
</script>
{% endblock %}
{% block content %}
<!-- Lead -->
<section>
<h2>{% trans "Technical documentation lives here" %}</h2>
<p class="lead">
{% blocktrans trimmed %}
Read the Docs simplifies software documentation by automating building,
versioning, and hosting of your docs for you.
{% endblocktrans %}
</p>
</section>
<section>
<div class="feature">
<h3>Free docs hosting for open source</h3>
<p>
{% blocktrans trimmed %}
We will host your documentation for free, forever.
There are no tricks.
We help over 100,000 open source projects share their docs,
including a custom domain and theme.
{% endblocktrans %}
</p>
</div>
<div class="feature">
<h3>Always up to date</h3>
<p>
{% blocktrans trimmed %}
Whenever you push code to your favorite version control service,
whether that is GitHub, BitBucket, or GitLab, we will
automatically build your docs so your code and documentation are
never out of sync.
{% endblocktrans %}
</p>
</div>
<div class="clearfix"></div>
</section>
<section>
<div class="feature">
<h3>Downloadable formats</h3>
<p>
{% blocktrans trimmed %}
We build and host your docs for the web, but they are
also vieweable as PDFs, as single page HTML, and for eReaders.
No additional configuration is required.
{% endblocktrans %}
</p>
</div>
<div class="feature">
<h3>Multiple versions</h3>
<p>
{% blocktrans trimmed %}
We can host and build multiple versions of your docs so having a
1.0 version of your docs and a 2.0 version of your docs is as easy
as having a separate branch or tag in your version control system.
{% endblocktrans %}
</p>
</div>
<div class="clearfix"></div>
</section>
<!-- Call to action -->
<section>
<p style="text-align: center">
<a href="https://docs.readthedocs.io/page/intro/getting-started-with-sphinx.html" class="cta-btn">{% trans 'Getting started guide' %}</a>
</p>
</section>
<!-- Search -->
<section>
{% include "core/widesearchbar.html" %}
</section>
{% get_current_language as language %}
{% cache 600 homepage_featured_list language %}
{% if featured_list %}
<!-- BEGIN projects list -->
<section>
<h3>{% trans "Featured Projects" %}</h3>
<div class="module-list">
<div class="module-list-wrapper">
<ul style="margin-bottom: 0">
{% include "core/project_list_featured.html" %}
</ul>
</div>
</div>
</section>
<!-- END projects list -->
{% endif %}
{% endcache %}
<!-- Funding and Contributing -->
<section>
<h2>{% trans "Read the Docs is funded by the community" %}</h2>
<p>
{% url "donate" as sponsors_url %}
{% url "gold_detail" as gold_detail %}
{% blocktrans trimmed %}
Read the Docs is a huge resource that millions of developers rely on
for software documentation. It would not be possible without the
support of our
<a href="{{ sponsors_url }}">sponsors</a>,
<a href="https://www.ethicalads.io/advertisers/?ref=rtd">advertisers</a>,
and <a href="{{ gold_detail }}">readers like you</a>.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
Read the Docs is open source and community supported.
It depends on users like you to contribute to development, support, and operations.
You can learn more about how to <a href="https://docs.readthedocs.io/page/contribute.html">contribute</a> in our docs.
Thanks so much to our wonderful <a href="https://docs.readthedocs.io/page/team.html">team</a> who helps us run the site.
Read the Docs wouldn't be possible without them.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
Hosting for the project is graciously provided by <a href="https://aws.amazon.com/">AWS</a> and <a href="https://cloudflare.com/">Cloudflare</a>.
{% endblocktrans %}
</p>
</section>
{% endblock %}