Skip to content

Commit 925d7e7

Browse files
benjaomingericholscheragjohnson
authored
Docs: Changes to main index page (Diátaxis) (#10186)
* Remove old user docs index page "wall of links" * Remove item referencing to removed index page headline, less is more * Adds an orphaned tutorial section index, bootstrap the first Diataxis-based main page content * Update link * WIP: More content for index page * A suggestion of links for all main page entries * Populate the tutorial index with some rough texts * Add toctree to guide index * Only index * Wrap up initial landing page changes * Polish sentences, remove old mentioning of features in the intro * Lots of little cleanup * Lots more word cleanup * Apply suggestions from @agjohnson code review Co-authored-by: Anthony <[email protected]> * Swap PR and cross-reference how-to --------- Co-authored-by: Eric Holscher <[email protected]> Co-authored-by: Anthony <[email protected]>
1 parent 00faf0f commit 925d7e7

File tree

6 files changed

+124
-122
lines changed

6 files changed

+124
-122
lines changed

docs/user/examples.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ Real-life examples
3939

4040
.. image:: _static/images/awesome-list.svg
4141
:alt: Awesome List badge
42-
:target: https://github.com/readthedocs-examples/
42+
:target: https://github.com/readthedocs-examples/awesome-read-the-docs
4343

4444
We maintain an **Awesome List** where you can contribute new shiny examples of using Read the Docs.
45-
Please refer to the instructions on how to submit new entries on `Awesome Read the Docs Projects <https://github.com/readthedocs-examples/>`_.
45+
Please refer to the instructions on how to submit new entries on `Awesome Read the Docs Projects <https://github.com/readthedocs-examples/awesome-read-the-docs>`__.
4646

4747

4848
Contributing an example project

docs/user/guides/cross-referencing-with-sphinx.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Cross-referencing with Sphinx
2-
=============================
1+
How to use cross-references with Sphinx
2+
=======================================
33

44
When writing documentation you often need to link to other pages of your documentation,
55
other sections of the current page, or sections from other pages.

docs/user/guides/index.rst

+5
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ and how to write successful documentation.
1010
.. tip::
1111
We recommend looking through the list,
1212
maybe there is a guide you hadn't looked for?
13+
14+
.. toctree::
15+
:glob:
16+
17+
*/index

docs/user/index.rst

+74-115
Original file line numberDiff line numberDiff line change
@@ -62,156 +62,115 @@ Read the Docs: documentation simplified
6262

6363
<a style="display: none;" rel="me" href="https://fosstodon.org/@readthedocs">Mastodon</a>
6464

65-
`Read the Docs`_ simplifies software documentation
65+
Read the Docs simplifies software documentation
6666
by building, versioning, and hosting of your docs, automatically.
67-
This enables many "docs like code" workflows,
68-
keeping your code & documentation as close as possible.
67+
Treating documentation like code keeps your team in the same tools,
68+
and your documentation up to date.
6969

70-
Never out of sync |:arrows_counterclockwise:|
71-
Whenever you push code to your favorite version control system,
72-
whether that is Git or Mercurial,
70+
|:arrows_counterclockwise:| Up to date documentation
71+
Whenever you push code to Git,
7372
Read the Docs will automatically build your docs
7473
so your code and documentation are always up-to-date.
75-
Read more about :doc:`/integrations`.
74+
Get started with our :doc:`tutorial </tutorial/index>`.
7675

77-
Multiple versions |:card_index_dividers:|
78-
Read the Docs can host and build multiple versions of your docs
79-
so having a 1.0 version of your docs and a 2.0 version
80-
of your docs is as easy as having a separate branch or tag in your version control system.
81-
Read more about :doc:`/versions`.
76+
|:card_index_dividers:| Documentation for every version
77+
Read the Docs can host multiple versions of your docs.
78+
Keep your 1.0 and 2.0 documentation online,
79+
pulled directly from Git.
80+
Start hosting all your :doc:`versions </versions>`.
8281

83-
Open Source and User Focused |:heartbeat:|
84-
Our code is free and `open source <https://github.com/readthedocs/>`_.
85-
:doc:`Our company </about/index>` is bootstrapped and 100% user focused.
82+
|:heartbeat:| Open source and user focused
83+
Our company is bootstrapped and 100% user-focused,
84+
so our product gets better for our users instead of our investors.
8685
|org_brand| hosts documentation for over 100,000 large
87-
and small open source projects,
88-
in almost every human and computer language.
86+
and small open source projects.
8987
|com_brand| supports hundreds of organizations with product and internal documentation.
88+
Learn more about :doc:`our two platforms </choosing-a-site>`.
9089

91-
.. _Read the docs: https://readthedocs.org/
90+
First time here?
91+
----------------
9292

93-
You can find out more about our all the :doc:`features </reference/features>` in these pages.
93+
We have a few places for you to get started:
9494

95-
First steps
96-
-----------
97-
98-
Are you new to software documentation?
99-
Are you looking to use your existing docs with Read the Docs?
100-
Learn about documentation authoring tools such as Sphinx and MkDocs
101-
to help you create fantastic documentation for your project.
102-
103-
* **Tutorial**: :doc:`/tutorial/index`
104-
105-
* **Getting started**:
106-
:doc:`With Sphinx </intro/getting-started-with-sphinx>` |
107-
:doc:`With MkDocs </intro/getting-started-with-mkdocs>` |
108-
:doc:`/choosing-a-site`
95+
.. descriptions here are active
10996
110-
* **Importing your existing documentation**:
111-
:doc:`Import guide </intro/import-guide>`
97+
🚀 :doc:`/tutorial/index`
98+
Take the first practical steps with Read the Docs.
11299

113-
Read the Docs feature overview
114-
------------------------------
100+
🚀 :doc:`/examples`
101+
Start your journey with an example project to hit the ground running.
115102

116-
Learn more about configuring your automated documentation builds
117-
and some of the core features of Read the Docs.
103+
.. TODO: This next item needs its article to be finished in a separate PR
104+
.. https://github.com/readthedocs/readthedocs.org/pull/10071
105+
.. This page isn't ready for front page treatment
106+
.. doc:`Why use a dedicated documentation platform? </integrations>`
107+
.. An introduction to some of the most important reasons for using a *Documentation CI* and build *docs as code*.
118108
119-
* **Overview of core features**:
120-
:doc:`/custom-domains` |
121-
:doc:`/versions` |
122-
:doc:`/downloadable-documentation` |
123-
:doc:`/server-side-search/index` |
124-
:doc:`/analytics` |
125-
:doc:`/pull-requests` |
126-
:doc:`/build-notifications` |
127-
:doc:`/user-defined-redirects` |
128-
:doc:`/security-log`
109+
:doc:`🚀 All tutorials </tutorials/index>`
110+
Using documentation tools like Sphinx or MkDocs for the first time or importing an existing project?
111+
We have the tutorials to get you started!
129112

130-
* **Connecting with GitHub, Bitbucket, or GitLab**:
131-
:doc:`Connecting your VCS account </connected-accounts>`
132-
133-
* **Read the Docs build process**:
134-
:doc:`Configuration reference </config-file/index>` |
135-
:doc:`Build process </builds>` |
136-
:doc:`Build customization </build-customization>` |
137-
:doc:`/environment-variables` |
138-
:doc:`/reference/environment-variables` |
139-
:doc:`/badges`
140-
141-
* **Troubleshooting**:
142-
:doc:`/support` |
143-
:doc:`/faq`
113+
Explanation
114+
-----------
144115

116+
Get a high-level overview of our platform:
145117

146-
Advanced features of Read the Docs
147-
----------------------------------
118+
.. Descriptions here are focused on learning
148119
149-
Read the Docs offers many advanced features and options.
150-
Learn more about these integrations and how you can get the most
151-
out of your documentation and Read the Docs.
120+
.. TODO: This next item needs its article to be finished in a separate PR
121+
.. https://github.com/readthedocs/readthedocs.org/pull/10071
152122
153-
* **Advanced project configuration**:
154-
:doc:`subprojects` |
155-
:doc:`Single version docs <single-version>` |
156-
:doc:`flyout-menu` |
157-
:doc:`feature-flags`
123+
💡 :doc:`Continuous Documentation </integrations>`
124+
Discover the advantages of having your documentation continuously deployed.
158125

159-
* **Multi-language documentation**:
160-
:doc:`Translations and localization <localization>`
126+
💡 :doc:`/choosing-a-site`
127+
Learn about the differences between |org_brand| and |com_brand|.
161128

162-
* **Versions**
163-
:doc:`Automation rules <automation-rules>`
129+
.. TODO: This next item needs its article to be finished in a separate PR
130+
.. https://github.com/readthedocs/readthedocs.org/pull/10071
131+
.. TODO: 💡 Advanced topics: Deep-dive into Read the Docs
132+
.. Get familiar with some of the more advanced topics of building and deploying documentation with Read the Docs.
164133
165-
* **Topic specific guides**:
166-
:doc:`How-to guides <guides/index>`
167134
168-
* **Extending Read the Docs**:
169-
:doc:`REST API <api/index>`
135+
How-to guides
136+
-------------
170137

138+
Need to get something specific done? These guides provide step-by-step instructions on various areas:
171139

140+
.. Descriptions here are active, learn, setup, etc.
141+
.. The chosen sample of how-tos is intended reflect to width of the how-to section
142+
.. i.e. NOT only what is most popular or easiest for beginners.
172143
173-
Read the Docs for Business
174-
--------------------------
144+
🪄 :doc:`/guides/pull-requests`
145+
Setup pull request builds and enjoy previews of each commit.
175146

176-
Read the Docs has a commercial offering with improved support and additional features.
147+
🪄 :doc:`/analytics`
148+
Learn more about how users are interacting with your documentation.
177149

178-
* **Read the Docs for Business**:
179-
:doc:`Organizations <commercial/organizations>` |
180-
:doc:`Single sign on <commercial/single-sign-on>` |
181-
:doc:`Project privacy level <commercial/privacy-level>` |
182-
:doc:`Sharing externally <commercial/sharing>`
150+
🪄 :doc:`/guides/cross-referencing-with-sphinx`
151+
Learn how to use cross-references in a Sphinx project.
183152

153+
🪄 :doc:`All how-to guides </guides/index>`
154+
Browser the entire catalog for many more how-to guides.
184155

185-
The Read the Docs project and organization
186-
------------------------------------------
156+
Reference
157+
---------
187158

188-
Learn about Read the Docs, the project and the company,
189-
and find out how you can get involved and contribute to the development and success
190-
of Read the Docs and the larger software documentation ecosystem.
159+
Need to know how something works? Our references provide the details:
191160

192-
* **Policies & Process**:
193-
:doc:`security` |
194-
:doc:`DMCA takedown policy <dmca/index>` |
195-
:doc:`/abandoned-projects` |
196-
:doc:`/unofficial-projects` |
197-
:doc:`Release notes & changelog <changelog>`
161+
.. Descriptions here sound like reference
198162
163+
📚 :doc:`/reference/features`
164+
Overview of all the main features of Read the Docs.
199165

200-
* **The people and philosophy behind Read the Docs**:
201-
:doc:`About us </about/index>` |
202-
:doc:`Team <team>` |
203-
:doc:`Open source philosophy <open-source-philosophy>` |
204-
:doc:`Our story <story>`
166+
📚 :doc:`/config-file/index`
167+
Information for our configuration file: ``.readthedocs.yaml``.
205168

206-
* **Financial and material support**:
207-
:doc:`advertising/index` |
208-
:doc:`Sponsors <sponsors>`
169+
📚 :doc:`/builds`
170+
Overview of how documentation builds happen.
209171

210-
* **Legal documents**:
211-
:doc:`Terms of service <terms-of-service>` |
212-
:doc:`Privacy policy <privacy-policy>` |
213-
:doc:`Data processing agreement <legal/dpa/index>`
172+
📚 :doc:`/build-customization`
173+
Information on how to add your own build logic or replace default build steps.
214174

215-
* **Getting involved with Read the Docs**:
216-
:doc:`/glossary` |
217-
:doc:`Developer documentation <rtd-dev:index>`
175+
📚 :doc:`/api/index`
176+
Automate your documentation with our API and save yourself some work.

docs/user/tutorial/index.rst

-3
Original file line numberDiff line numberDiff line change
@@ -673,9 +673,6 @@ and Read the Docs:
673673
- Whether you are a documentation author, a project administrator, a developer, or a designer,
674674
you can follow our how-to guides that cover specific tasks,
675675
available under :doc:`/guides/index`.
676-
- You can check out some of the
677-
:ref:`index:Advanced features of Read the Docs`,
678-
like :doc:`/subprojects` or :doc:`/automation-rules`, to name a few.
679676
- For private project support and other enterprise features,
680677
you can use :doc:`our commercial service </commercial/index>`
681678
(and if in doubt, check out :doc:`/choosing-a-site`).

docs/user/tutorials/index.rst

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
.. this page is referenced from the front page but it's unnecessary as a navigation section for now.
2+
3+
:orphan:
4+
5+
=========
6+
Tutorials
7+
=========
8+
9+
⏩️ :doc:`/tutorial/index`
10+
This is where you should go if you are trying Read the Docs for the first time!
11+
12+
13+
⏩️ :doc:`/intro/getting-started-with-sphinx`
14+
Sphinx is the most popular documentation tool on our platform.
15+
It supports both reStructuredText and Markdown formats, and can generate rich API documentation from your source code.
16+
We recommend Sphinx for documentation that includes API reference documentation.
17+
18+
⏩️ :doc:`/intro/getting-started-with-mkdocs`
19+
Another great and popular tool is MkDocs.
20+
This is especially popular because of its default of using Markdown.
21+
This tool is well-supported on our platform and that's why we have a tutorial.
22+
23+
⏩️ :doc:`/intro/import-guide`
24+
If you already wrote your documentation,
25+
this guide will help you get started at the most natural point:
26+
importing an existing documentation project.
27+
28+
⏩️ :doc:`/examples`
29+
If you are bootstrapping a new documentation project,
30+
here is a list of example projects that you can derive your setup from.
31+
32+
33+
.. toctree::
34+
:maxdepth: 1
35+
:hidden:
36+
37+
/tutorial/index
38+
/intro/getting-started-with-sphinx
39+
/intro/getting-started-with-mkdocs
40+
/intro/import-guide
41+
/examples

0 commit comments

Comments
 (0)