Skip to content

Commit a84eb3c

Browse files
committed
Restructure guides
Close #8321.
1 parent 49ffef9 commit a84eb3c

14 files changed

+97
-66
lines changed

docs/advertising/advertising-details.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ our own goals.
119119

120120
We have taken steps to address some of the privacy concerns surrounding GA.
121121
These steps apply both to analytics collected by Read the Docs and when
122-
:doc:`authors enable analytics on their docs </guides/google-analytics>`.
122+
:doc:`authors enable analytics on their docs </google-analytics>`.
123123

124124
* Users can opt-out of analytics by using the Do Not Track feature of their browser.
125125
* Read the Docs instructs Google to anonymize IP addresses sent to them.
126126
* The cookies set by GA expire in 30 days rather than the default 2 years.
127127
* Project maintainers can completely disable analytics on their own projects.
128-
Follow the steps in :ref:`guides/google-analytics:Disabling Google Analytics on your project`.
128+
Follow the steps in :ref:`google-analytics:Disabling Google Analytics on your project`.
129129

130130

131131
Why we use analytics

docs/analytics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ You can also access to analytics data from :ref:`search results <server-side-sea
2121
.. note::
2222

2323
If you require more information about page views,
24-
you can use a solution like :doc:`Google Analytics </guides/google-analytics>`.
24+
you can use a solution like :doc:`Google Analytics </google-analytics>`.

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ see :ref:`faq:My documentation requires additional dependencies`.
5050
Read the Docs offers some settings which can be used for a variety of purposes.
5151
To enable these settings,
5252
please send an email to [email protected] and we will change the settings for the project.
53-
Read more about these settings :doc:`here <guides/feature-flags>`.
53+
Read more about these settings :doc:`here <feature-flags>`.
5454

5555

5656
I get import errors on libraries that depend on C modules

docs/guides/administrators.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Guides for project administrators
2+
---------------------------------
3+
4+
These guides cover common use cases
5+
relevant for managing documentation projects,
6+
using the Read the Docs web interface
7+
and making changes to the configuration files.
8+
9+
For an introduction to Read the Docs,
10+
have a look at our :doc:`/tutorial/index`.
11+
12+
.. toctree::
13+
:maxdepth: 1
14+
15+
technical-docs-seo-guide
16+
manage-translations
17+
searching-with-readthedocs
18+
hiding-a-version
19+
deprecating-content
20+
pdf-non-ascii-languages
21+
importing-private-repositories
22+
wipe-environment

docs/guides/authors.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Guides for documentation authors
2+
--------------------------------
3+
4+
These guides offer some tips and tricks to author documentation
5+
with the tools supported on Read the Docs.
6+
Only reStructuredText or Markdown knowledge
7+
and minimal configuration tweaking are needed.
8+
9+
For an introduction to Sphinx and Mkdocs,
10+
have a look at our :doc:`/intro/getting-started-with-sphinx`
11+
and :doc:`/intro/getting-started-with-mkdocs`.
12+
13+
.. toctree::
14+
:maxdepth: 1
15+
16+
cross-referencing-with-sphinx
17+
intersphinx
18+
jupyter

docs/guides/commercial.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/guides/conda.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ so they can have any value, or not be present at all.
6262
.. warning:: Pinning Sphinx and other Read the Docs core dependencies
6363
is not yet supported by default when using conda (see `this GitHub issue for discussion`_).
6464
If your project needs it, request that we enable the ``CONDA_APPEND_CORE_REQUIREMENTS``
65-
:ref:`feature flag <guides/feature-flags:Feature Flags>`.
65+
:ref:`feature flag <feature-flags:Feature Flags>`.
6666

6767
.. _this GitHub issue for discussion: https://github.com/readthedocs/readthedocs.org/issues/3829
6868
.. _exporting a conda environment: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#sharing-an-environment
@@ -178,7 +178,7 @@ minimize the running time or the memory usage:
178178
and opting out of the defaults adding ``nodefaults``.
179179
- Constrain the package versions as much as possible to reduce the solution space.
180180
- Use mamba_, an alternative package manager fully compatible with conda packages,
181-
by requesting the ``CONDA_USES_MAMBA`` :ref:`feature flag <guides/feature-flags:Feature Flags>`.
181+
by requesting the ``CONDA_USES_MAMBA`` :ref:`feature flag <feature-flags:Feature Flags>`.
182182
- And, if all else fails,
183183
:ref:`request more resources <guides/build-using-too-many-resources:Requests more resources>`.
184184

docs/guides/developers.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Guides for developers and designers
2+
-----------------------------------
3+
4+
These guides are helpful for developers and designers
5+
seeking to extend the authoring tools
6+
or customize the documentation appearance.
7+
8+
.. toctree::
9+
:maxdepth: 1
10+
11+
private-python-packages
12+
private-submodules
13+
adding-custom-css
14+
reproducible-builds
15+
embedding-content
16+
conda
17+
remove-edit-buttons
18+
build-using-too-many-resources
19+
vcs

docs/guides/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ and how to write successful documentation.
1111
.. toctree::
1212
:maxdepth: 2
1313

14-
tools
15-
platform
16-
commercial
14+
authors
15+
administrators
16+
developers

docs/guides/platform.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/guides/technical-docs-seo-guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The canonical URL tells search engines where the original version
161161
your documentation is even if you have multiple versions on the internet
162162
(for example, incomplete translations or deprecated versions).
163163

164-
Read the Docs supports :doc:`setting the canonical URL </guides/canonical>`
164+
Read the Docs supports :doc:`setting the canonical URL </canonical>`
165165
if you are using a :doc:`custom domain </custom_domains>`
166166
under :guilabel:`Admin` > :guilabel:`Domains`
167167
in the Read the Docs dashboard.
@@ -266,7 +266,7 @@ Some of the most valuable feedback these provide include:
266266
Analytics tools
267267
~~~~~~~~~~~~~~~
268268

269-
A tool like :doc:`Google Analytics </guides/google-analytics>`
269+
A tool like :doc:`Google Analytics </google-analytics>`
270270
can give you feedback about the search terms people use to find your docs,
271271
your most popular pages, and lots of other useful data.
272272

docs/guides/tools.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/index.rst

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,25 +129,42 @@ and some of the core features of Read the Docs.
129129
/faq
130130

131131

132-
Step-by-step Guides
133-
-------------------
132+
How-to Guides
133+
-------------
134134

135135
These guides will help walk you through specific use cases
136136
related to Read the Docs itself, documentation tools like Sphinx and MkDocs
137137
and how to write successful documentation.
138138

139-
* :doc:`/guides/tools`
140-
* :doc:`/guides/platform`
141-
* :doc:`/guides/commercial`
139+
* **For documentation authors**:
140+
:doc:`/guides/cross-referencing-with-sphinx` |
141+
:doc:`/guides/intersphinx` |
142+
:doc:`/guides/jupyter` |
143+
:doc:`Other guides for authors </guides/authors>`
144+
145+
* **For project administrators**:
146+
:doc:`/guides/technical-docs-seo-guide` |
147+
:doc:`/guides/manage-translations` |
148+
:doc:`/guides/searching-with-readthedocs` |
149+
:doc:`/guides/private-submodules` |
150+
:doc:`Other guides for administrators </guides/administrators>`
151+
152+
* **For developers and designers**:
153+
:doc:`/guides/private-python-packages` |
154+
:doc:`/guides/adding-custom-css` |
155+
:doc:`/guides/reproducible-builds` |
156+
:doc:`/guides/embedding-content` |
157+
:doc:`/guides/conda` |
158+
:doc:`Other guides for developers and designers </guides/developers>`
142159

143160
.. toctree::
144161
:maxdepth: 2
145162
:hidden:
146-
:caption: Step-by-step Guides
163+
:caption: How-to Guides
147164

148-
/guides/tools
149-
/guides/platform
150-
/guides/commercial
165+
/guides/authors
166+
/guides/administrators
167+
/guides/developers
151168

152169
Advanced features of Read the Docs
153170
----------------------------------

docs/single_version.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ if pip was set as a "Single Version" project, then links to its documentation wo
2323
``http://pip.readthedocs.io/`` rather than the default ``http://pip.readthedocs.io/en/latest/``.
2424

2525
Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatibility reasons.
26-
However, our usage of :doc:`guides/canonical` should stop these from being indexed by Google.
26+
However, our usage of :doc:`canonical` should stop these from being indexed by Google.
2727

2828
.. _dashboard: https://readthedocs.org/dashboard/

0 commit comments

Comments
 (0)