1
+
1
2
{#
2
3
The goal of this page is to sell Read the Docs to users already using the docs-as-code pattern.
3
4
Highlighting that without doing anything extra, they get lot of features for free.
4
5
#}
5
6
< html >
6
7
< head >
7
- < title > Docs as code made easy </ title >
8
+ < title > Docs as code hosting with standard tools </ title >
8
9
< meta name ="template " content ="page " />
9
10
< meta name ="slug " content ="docs-as-code " />
10
11
< meta name ="status " content ="hidden " />
30
31
< div class ="ten wide computer sixteen wide tablet sixteen wide mobile column ">
31
32
< div class ="ui large left aligned basic vertical segment ">
32
33
< h1 class ="ui huge header ">
33
- < em > Docs as code</ em > has never been that easy
34
+ Take the confusion out of < em > docs as code</ em >
34
35
</ h1 >
35
36
36
37
< p >
37
- Treat your documentation in the same way as you treat your code by following the
38
- < a href ="https://docs-as-co.de/ " target ="_blank " rel ="nofollow "> docs as code pattern</ a > :
38
+ Read the Docs is the go-to solution for open source and business for < em > docs as code</ em > hosting.
39
+ Use our standard process to build, publish, and host your documentation.
40
+ Giving you all the features you care about < strong > without having to reinvent the wheel</ strong > .
39
41
</ p >
40
42
43
+ {# This should be a list of benefits, not features, since we have a feature listing in the side nav #}
41
44
< div class ="ui list ">
42
45
< div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Write documentation using a rich ecosystem of tools (MkDocs, Docusaurus, etc).</ div >
43
46
< div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Version your documents with Git.</ div >
44
- < div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Test your documentation builds correctly.</ div >
45
- < div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Preview the changes before publishing.</ div >
46
- < div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Automate the publication process.</ div >
47
+ < div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Preview each change before publishing.</ div >
48
+ < div class ="item "> < i class ="fad fa-check secondary icon "> </ i > Easily deploy docs on merge</ div >
47
49
</ div >
48
50
49
51
< p >
50
- Read the Docs is the < em > "all in one"</ em > solution that helps you to make this process easy providing
51
- integrated features with zero effort.
52
+ Read the Docs is the < em > all-in-one</ em > solution for docs as code.
52
53
</ p >
53
54
54
55
</ div >
@@ -58,55 +59,50 @@ <h1 class="ui huge header">
58
59
< div class ="ui padded basic segment ">
59
60
< div class ="ui relaxed list ">
60
61
61
- {%- set header_1 = "Traffic and search analytics" %}
62
- {%- set icon_1 = "fa-chart-mixed" -%}
63
- < a href ="#analytics " class ="ui small teal header item ">
62
+ {%- set header_1 = "Versioning" %}
63
+ {%- set slug_1 = "versioning" %}
64
+ {%- set icon_1 = "fa-layer-group" -%}
65
+ < a href ="#{{ slug_1 }} " class ="ui small teal header item ">
64
66
< i class ="fad {{ icon_1 }} secondary big icon "> </ i >
65
67
< span class ="content ">
66
68
{{ header_1 }}
67
- < span class ="sub header "> Know more about how your readers use your documentation .</ span >
69
+ < span class ="sub header "> Give your users documentation for their exact version of your product .</ span >
68
70
</ span >
69
71
</ a >
70
72
71
- {%- set header_2 = "Notifications" %}
72
- {%- set icon_2 = "fa-messages" -%}
73
- < a href ="#notifications " class ="ui small header item ">
73
+ {%- set header_2 = "Git integration" %}
74
+ {%- set slug_2 = "git-integration" %}
75
+ {%- set icon_2 = "fa-code-commit" -%}
76
+ < a href ="#{{ slug_2 }} " class ="ui small header item ">
74
77
< i class ="fad {{ icon_2 }} secondary big icon "> </ i >
75
78
< span class ="content ">
76
79
{{ header_2 }}
77
- < span class ="sub header "> Warn readers about reading and old version of the documentation .</ span >
80
+ < span class ="sub header "> Use Git for development and documentation, making collaboration easy .</ span >
78
81
</ span >
79
82
</ a >
80
83
81
- {%- set header_3 = "Search as you type" %}
82
- {%- set icon_3 = "fa-magnifying-glass" -%}
83
- < a href ="#search " class ="ui small header item ">
84
+ {%- set header_3 = "Pull request previews" %}
85
+ {%- set slug_3 = "pull-request-previews" %}
86
+ {%- set icon_3 = "fa-file-plus-minus" -%}
87
+ < a href ="#{{ slug_3 }} " class ="ui small header item ">
84
88
< i class ="fad {{ icon_3 }} secondary big icon "> </ i >
85
89
< span class ="content ">
86
90
{{ header_3 }}
87
- < span class ="sub header "> Quickly find exactly what you are looking for.</ span >
91
+ < span class ="sub header "> Verify changes to your documentation with a fully built documentation website for each pull request .</ span >
88
92
</ span >
89
93
</ a >
90
94
91
- {%- set header_4 = "Visual diff on pull requests" %}
92
- {%- set icon_4 = "fa-file-plus-minus" -%}
93
- < a href ="#visual-diff " class ="ui small header item ">
95
+ {%- set header_4 = "One-click deployment" %}
96
+ {%- set slug_4 = "One-click-deployment" %}
97
+ {%- set icon_4 = "fa-gears" -%}
98
+ < a href ="#{{ slug_4 }} " class ="ui small header item ">
94
99
< i class ="fad {{ icon_4 }} secondary big icon "> </ i >
95
100
< span class ="content ">
96
101
{{ header_4 }}
97
- < span class ="sub header "> Review PR changes visually .</ span >
102
+ < span class ="sub header "> Automatically deploy your docs each time you < em > merge to main </ em > .</ span >
98
103
</ span >
99
104
</ a >
100
105
101
- {%- set header_5 = "Read the Docs flyout" %}
102
- {%- set icon_5 = "fa-bars" -%}
103
- < a href ="#flyout " class ="ui small header item ">
104
- < i class ="fad {{ icon_5 }} secondary big icon "> </ i >
105
- < span class ="content ">
106
- {{ header_5 }}
107
- < span class ="sub header "> Select between multiple versions and translations.</ span >
108
- </ span >
109
- </ a >
110
106
</ div >
111
107
</ div >
112
108
</ div >
@@ -129,129 +125,128 @@ <h1 class="ui huge header">
129
125
130
126
< section >
131
127
< div class ="ui very padded container ">
132
- < div class ="ui vertically padded centered grid " id ="analytics ">
128
+ < div class ="ui vertically padded centered grid " id ="{{ slug_1 }} ">
133
129
134
130
{% call about.step(
135
131
header=header_1,
136
- image="/images/docs-as-code/analytics .png",
137
- image_alt="Graph showing traffic and search analytics in a period ",
132
+ image="/images/docs-as-code/flyout-zoomed .png",
133
+ image_alt="Flyout showing versions of a documentation project ",
138
134
icon=icon_1) %}
139
135
{% markdown %}
140
- Explore traffic analytics and understand what are the pages your readers read the most.
141
- **Prioritize the work** to improve them before other pages with less traffic.
142
- Find out what are the terms your users search the most and write documentation pages
143
- that include those terms so they can easily find them.
136
+ Read the Docs can host multiple versions of your docs.
137
+ Keep your 1.0 and 2.0 documentation online,
138
+ so your users can always find the right version.
144
139
{% endmarkdown %}
140
+ < a class ="ui basic primary button " href ="https://docs.readthedocs.io/page/versions.html ">
141
+ < i class ="fad fa-book icon " aria-hidden ="true "> </ i >
142
+ Documentation
143
+ </ a >
145
144
{% endcall %}
146
145
147
146
</ div >
148
147
</ div >
149
148
150
149
{{ about_divide() }}
151
150
152
- < div class ="ui very padded container " id ="notification ">
151
+ < div class ="ui very padded container " id ="{{ slug_2 }} ">
153
152
< div class ="ui vertically padded centered grid ">
154
153
155
154
{% call about.step(
156
155
header=header_2,
157
- image="/images/docs-as-code/notification .png",
158
- image_alt="Notification on a old version ",
156
+ image="/images/docs-as-code/gh-integration .png",
157
+ image_alt="Read the Docs checks on GitHub ",
159
158
icon=icon_2) %}
160
159
{% markdown %}
161
- Clearly communicate readers they are reading an outdated version of the documentation,
162
- and **reduce support requests** from old version of your product.
160
+ Integrating directly with GitHub allows developers and documentation authors to collaborate seemlessly.
161
+ You can author your documentation in any text editor,
162
+ and using whatever format is most comfortable for you.
163
163
{% endmarkdown %}
164
+
165
+ < a class ="ui basic primary button " href ="https://docs.readthedocs.io/page/reference/git-integration.html ">
166
+ < i class ="fad fa-book icon " aria-hidden ="true "> </ i >
167
+ Documentation
168
+ </ a >
169
+
164
170
{% endcall %}
165
171
166
172
</ div >
167
173
</ div >
168
174
169
175
{{ about_divide() }}
170
176
171
- < div class ="ui very padded container " id ="search ">
177
+ < div class ="ui very padded container " id ="{{ slug_3 }} ">
172
178
< div class ="ui vertically padded centered grid ">
173
179
174
180
{% call about.step(
175
181
header=header_3,
176
- image="/images/docs-as-code/search .png",
177
- image_alt="Read the Docs pull request review checks in a GitHub pull request ",
182
+ image="/images/docs-as-code/visual-diff .png",
183
+ image_alt="Visual diff between two versions ",
178
184
icon=icon_3) %}
179
185
{% markdown %}
180
- Always find what you are looking for at the tip of your fingers with our powerful ElasticSearch engine.
181
- Search on a **single or accross multiple projects** at once.
186
+ Once you have your documentation in Git, you can preview changes before merging them.
187
+ Every time you push a commit to a pull request,
188
+ Read the Docs will build your documentation and show you the changes.
182
189
{% endmarkdown %}
190
+
191
+ < a class ="ui basic primary button " href ="https://docs.readthedocs.io/page/pull-requests.html ">
192
+ < i class ="fad fa-book icon " aria-hidden ="true "> </ i >
193
+ Documentation
194
+ </ a >
195
+
183
196
{% endcall %}
184
197
185
198
</ div >
186
199
</ div >
187
200
188
201
{{ about_divide() }}
189
202
190
- < div class ="ui very padded container " id ="visual-diff ">
203
+ < div class ="ui very padded container " id ="{{ slug_4 }} ">
191
204
< div class ="ui vertically padded centered grid ">
192
205
193
206
{% call about.step(
194
207
header=header_4,
195
- image="/images/docs-as-code/visual-diff .png",
196
- image_alt="Visual diff between two versions ",
208
+ image="/images/docs-as-code/deploy .png",
209
+ image_alt="Page showing build success ",
197
210
icon=icon_4) %}
198
211
{% markdown %}
199
- Visuallize documentation changes *"in situ"* from pull requests before merging them .
200
- **Understand what exacly changed** in a simple and visual way .
212
+ Once you're reviewed your changes, you can deploy the exact same way you do with your code .
213
+ When you merge to main, Read the Docs will automatically update your docs in production .
201
214
{% endmarkdown %}
202
- {% endcall %}
203
-
204
- </ div >
205
- </ div >
206
-
207
- {{ about_divide() }}
208
215
209
- < div class ="ui very padded container " id ="flyout ">
210
- < div class ="ui vertically padded centered grid ">
216
+ {# TODO: Have a better docs page for deployment #}
217
+ < a class ="ui basic primary button " href ="https://docs.readthedocs.io/page/builds.html ">
218
+ < i class ="fad fa-book icon " aria-hidden ="true "> </ i >
219
+ Documentation
220
+ </ a >
211
221
212
- {% call about.step(
213
- header=header_5,
214
- image="/images/docs-as-code/flyout.png",
215
- image_alt="Read the Docs flyout",
216
- icon=icon_5) %}
217
- {% markdown %}
218
- Let your users select between **multiple versions and translations** of your documentation in a quick way using the flyout menu.
219
- {% endmarkdown %}
220
222
{% endcall %}
221
223
222
224
</ div >
223
225
</ div >
226
+
224
227
</ section >
225
228
226
229
227
230
{# Try it out code block #}
228
- {% include "includes/try-it-out-docusaurus .html" %}
231
+ {% include "includes/try-it-out.html" %}
229
232
230
- {% block homepage_bottom_callout %}
233
+ {% block bottom_callout %}
231
234
< section >
232
235
< div class ="ui very padded container ">
233
236
< div class ="ui grid center aligned ">
234
237
< div class ="row ">
235
238
< div class ="column twelve wide computer sixteen wide tablet ">
236
239
< div class ="ui basic vertical huge segment ">
237
240
< h2 class ="ui center aligned header ">
238
- Still not convinced? Try it yourself < i class =" fad fa-rocket icon " > </ i >
241
+ Automate your docs with Read the Docs
239
242
</ h2 >
240
243
241
- {% markdown %}
242
- Import your existing project or create one following our [tutorial](https://docs.readthedocs.io/en/stable/tutorial/),
243
- and try it yourself.
244
- All these features will be enabled by default when using the
245
- [``build.commands``](https://docs.readthedocs.io/en/latest/config-file/v2.html#build-commands)
246
- config key as shown in the example.
247
- {% endmarkdown %}
248
-
249
244
< p >
250
245
< a class ="ui large teal stackable button "
251
246
data-analytics ="signup-modal "
252
247
onclick ="jQuery('#signup-modal').modal('show'); ">
253
248
< i class ="fad fa-rocket icon "> </ i >
254
- Get started for free
249
+ Sign up
255
250
</ a >
256
251
</ p >
257
252
</ div >
@@ -260,7 +255,7 @@ <h2 class="ui center aligned header">
260
255
</ div >
261
256
</ div >
262
257
</ section >
263
- {% endblock homepage_bottom_callout %}
258
+ {% endblock bottom_callout %}
264
259
265
260
</ body >
266
261
</ html >
0 commit comments