Skip to content

Commit bc847f9

Browse files
humitosagjohnsonericholscher
authored
Docs: simplify "Add project" page (#11559)
* Docs: simplify "Add project" page * Rename it to `add-project.html` * Always use "add" instead of "import" * Explain the process using the new dashboard * Make usage of a numbered list of steps intead of a single paragraph * Remove irrelevant content and focus on _adding a project_ * Keep relevant links under "See also" sections * Docs: rename `import-guide` to `add-project` * Typo * Delete old images * Apply suggestions from code review Co-authored-by: Anthony <[email protected]> Co-authored-by: Eric Holscher <[email protected]> * Rephrase sentence --------- Co-authored-by: Anthony <[email protected]> Co-authored-by: Eric Holscher <[email protected]>
1 parent b30b665 commit bc847f9

13 files changed

+94
-112
lines changed
Binary file not shown.
Binary file not shown.

docs/user/glossary.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,21 @@ so that you have a reference for how we're using them.
1111
In some scenarios, they exist as two separate platforms.
1212
Read the Docs is a combined CI/CD platform made for documentation.
1313

14+
configuration file
15+
YAML configuration file (e.g. ``.readthedocs.yaml``) that configures the build process of your project on Read the Docs.
16+
17+
.. seealso::
18+
19+
:doc:`/config-file/index`
20+
Practical steps to add a configuration file to your documentation project.
21+
22+
1423
dashboard
1524
The "admin" site where Read the Docs projects are managed and configured.
1625
This varies for our two properties:
1726

18-
* |com_brand|: https://readthedocs.com/dashboard/.
19-
* |org_brand|: https://readthedocs.org/dashboard/.
27+
* |com_brand|: https://app.readthedocs.com/dashboard/
28+
* |org_brand|: https://app.readthedocs.org/dashboard/
2029

2130
default version
2231
Projects have a *default version*, usually the latest stable version of a project.
@@ -145,4 +154,10 @@ so that you have a reference for how we're using them.
145154
* Git providers have webhooks which are special URLs that Read the Docs can call in order to notify about documentation builds.
146155
* Read the Docs has a unique webhook for each project that the Git provider calls when changes happen in Git.
147156

148-
See also: :doc:`/guides/setup/git-repo-manual` and :doc:`/build-notifications`
157+
.. seealso::
158+
159+
:doc:`/guides/setup/git-repo-manual`
160+
Manually configuration for Git repositories.
161+
162+
:doc:`/build-notifications`
163+
Receive notifications when your documentation builds fail.

docs/user/guides/importing-private-repositories.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here is how you set it up.
88

99
✅️ Logged in with |git_providers_or|?
1010
If you signed up or logged in to Read the Docs with your |git_providers_or| credentials,
11-
*all you have to do* is to use the normal :doc:`project import </intro/import-guide>`.
11+
*all you have to do* is to use the normal :doc:`project import </intro/add-project>`.
1212
Your Read the Docs account is connected to your Git provider and
1313
will let you choose from private Git repositories and configure them for you.
1414

docs/user/guides/setup/git-repo-automatic.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ the integration will automatically be configured on the Read the Docs project an
2626
Here is an outline of what happens:
2727

2828
#. A list of repositories that you have access to are automatically listed on Read the Docs' project import.
29-
#. You choose a Git repository from the list (see :doc:`/intro/import-guide`).
29+
#. You choose a Git repository from the list (see :doc:`/intro/add-project`).
3030
#. Data about the repository is now fetched using the account connection and you are asked to confirm the setup.
3131
#. When Read the Docs creates your project,
3232
it automatically sets up an integration with the Git provider,
@@ -55,7 +55,7 @@ including the ones that were automatically created.
5555
5656
.. seealso::
5757

58-
:ref:`intro/import-guide:Manually import your docs`
58+
:ref:`intro/add-project:Manually add your project`
5959
Using a different provider?
6060
Read the Docs still supports other providers such as Gitea or GitHub Enterprise.
6161
In fact, any Git repository URL can be configured manually.
@@ -80,7 +80,7 @@ By granting Read the Docs the requested permissions,
8080
we are issued a secret OAuth token from your Git provider.
8181

8282
Using the secret token,
83-
we can automatically configure the repository that you select in the :doc:`project import </intro/import-guide>`.
83+
we can automatically configure repositories during :doc:`project creation </intro/add-project>`.
8484
We also use the token to send back build statuses and preview URLs for :doc:`pull requests </pull-requests>`.
8585

8686
.. _OAuth: https://en.wikipedia.org/wiki/OAuth

docs/user/guides/setup/monorepo.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ A custom build configuration file path is applied to all versions of your docume
3636
Adding an additional project from the same repository
3737
-----------------------------------------------------
3838

39-
Once you have added the first project from the :ref:`Import Wizard <intro/import-guide:Automatically import your docs>`,
40-
it will show as if it has already been imported and cannot be imported again.
41-
In order to add another project with the same repository,
42-
you will need to use the :ref:`Manual Import <intro/import-guide:Manually import your docs>`.
39+
Once you have added the first project from the :ref:`Import Wizard <intro/add-project:Automatically add your project>`,
40+
you will need to repeat this process again to add the additional project from the same repository.
4341

4442
Setting the custom build configuration file
4543
-------------------------------------------

docs/user/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Read the Docs: documentation simplified
99
/tutorial/index
1010
/intro/getting-started-with-sphinx
1111
/intro/getting-started-with-mkdocs
12-
/intro/import-guide
12+
/intro/add-project
1313
/examples
1414

1515
.. toctree::

docs/user/intro/add-project.rst

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
Adding a documentation project
2+
==============================
3+
4+
.. meta::
5+
:description lang=en: Add your existing documentation from a Git repository into Read the Docs.
6+
7+
This page takes you through the process of adding a documentation project to Read the Docs.
8+
If you have :doc:`connected your Read the Docs account </guides/connecting-git-account>` to GitHub, Bitbucket or GitLab you will be able to add your project automatically.
9+
Otherwise, you will need to add it manually and perform some extra steps.
10+
11+
Automatically add your project
12+
------------------------------
13+
14+
#. Go to your :term:`dashboard`.
15+
#. Click on :guilabel:`Add project`.
16+
#. Type the name of the respository you want to add and click on it.
17+
#. Click on :guilabel:`Continue`.
18+
#. Edit any of the pre-filled fields with information of the repository.
19+
#. Click on :guilabel:`Next`.
20+
#. Add a :term:`configuration file` to your repository if it's doesn't exist yet.
21+
#. Click on :guilabel:`This file exists`.
22+
23+
Manually add your project
24+
-------------------------
25+
26+
#. Go to your :term:`dashboard`.
27+
#. Click on :guilabel:`Add project`.
28+
#. Click on :guilabel:`Configure manually`.
29+
#. Click on :guilabel:`Continue`.
30+
#. Fill all the fields of the form.
31+
#. Click on :guilabel:`Next`.
32+
#. Add a :term:`configuration file` to your repository if it's doesn't exist yet.
33+
#. Click on :guilabel:`This file exists`.
34+
35+
Once your project is created, you'll need to manually configure the repository webhook if you would like to have new changes trigger builds for your project on Read the Docs.
36+
37+
.. seealso::
38+
39+
:doc:`/guides/setup/git-repo-manual`
40+
Additional setup steps required for manually created projects. This guide covers setting up SSH keys and webhook integrations.
41+
42+
43+
What's next
44+
-----------
45+
46+
Once your documentation project is created, a build will be triggered.
47+
It will automatically fetch the code from your repository and build the documentation.
48+
You can see the logs for the build process from your :term:`dashboard`.
49+
50+
.. seealso::
51+
52+
:doc:`/builds`
53+
Explanation about the build process.
54+
55+
:doc:`/config-file/index`
56+
Practical steps to add a configuration file to your documentation project.
57+
58+
:doc:`/versions`
59+
Manage multiple versions of your documentation project.
60+
61+
If you have any trouble, don't hesitate to reach out to us.
62+
The :doc:`support </support>` page has more information on getting in touch.

docs/user/intro/getting-started-with-mkdocs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It has many great features including:
2222
Quick start
2323
-----------
2424

25-
.. seealso:: If you already have a Mkdocs project, check out our :doc:`/intro/import-guide` guide.
25+
.. seealso:: If you already have a Mkdocs project, check out our :doc:`/intro/add-project` guide.
2626

2727
Assuming you have Python already, `install MkDocs`_:
2828

@@ -59,7 +59,7 @@ You can make changes to your Markdown files and your docs will automatically reb
5959
Your MkDocs project is built
6060

6161
Once you have your documentation in a public repository such as GitHub, Bitbucket, or GitLab,
62-
you can start using Read the Docs by :doc:`importing your docs </intro/import-guide>`.
62+
you can start using Read the Docs by :doc:`adding a project </intro/add-project>`.
6363

6464
.. _install MkDocs: https://www.mkdocs.org/user-guide/installation/
6565

docs/user/intro/getting-started-with-sphinx.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ check out :doc:`/tutorial/index`.
2222
Quick start
2323
-----------
2424

25-
.. seealso:: If you already have a Sphinx project, check out our :doc:`/intro/import-guide` guide.
25+
.. seealso:: If you already have a Sphinx project, check out our :doc:`/intro/add-project` guide.
2626

2727
Assuming you have Python already, :doc:`install Sphinx <sphinx:usage/installation>`:
2828

@@ -68,7 +68,7 @@ Open this file in your web browser to see your docs.
6868

6969
Edit your files and rebuild until you like what you see, then commit your changes and push to your public repository.
7070
Once you have Sphinx documentation in a public repository, you can start using Read the Docs
71-
by :doc:`importing your docs </intro/import-guide>`.
71+
by :doc:`adding a project </intro/add-project>`.
7272

7373
.. warning::
7474

0 commit comments

Comments
 (0)