You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advertising/ethical-advertising.rst
+4-5
Original file line number
Diff line number
Diff line change
@@ -154,15 +154,14 @@ or a `Supporter <https://readthedocs.org/sustainability/#donations>`_.
154
154
155
155
Users can opt out of seeing paid advertisements on documentation pages:
156
156
157
-
* Go to the drop down user menu in the top right of the Read the Docs dashboard and clicking **Settings** (https://readthedocs.org/accounts/edit/).
158
-
* On the **Advertising** tab, you can deselect **See paid advertising**.
157
+
* Go to the drop down user menu in the top right of the Read the Docs dashboard and clicking :guilabel:`Settings` (https://readthedocs.org/accounts/edit/).
158
+
* On the :guilabel:`Advertising` tab, you can deselect **See paid advertising**.
159
159
160
160
Project owners can also opt out of paid advertisements for their projects.
161
161
You can change these options:
162
162
163
-
* Click on your **Project** page (`/projects/<slug>/`)
164
-
* Click the **Admin** dashboard link
165
-
* Choose the **Advertising** submenu on the left side
163
+
* Go to your **project** page (`/projects/<slug>/`)
164
+
* Go to :guilabel:`Admin` > :guilabel:`Advertising`
Copy file name to clipboardExpand all lines: docs/guides/environment-variables.rst
+5-3
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,18 @@ All these variables will be exposed to all the commands executed when building y
9
9
10
10
To define an environment variable, you need to
11
11
12
-
#. Go to your project **Admin > Environment Variables**
12
+
#. Go to your project :guilabel:`Admin` > :guilabel:`Environment Variables`
13
13
#. Click on "Add Environment Variable" button
14
14
#. Input a ``Name`` and ``Value`` (your secret needed here)
15
15
#. Click "Save" button
16
16
17
17
.. note::
18
18
19
-
Values will never be exposed to users, even to owners of the project. Once you create an environment variable you won't be able to see its value anymore because of security purposes.
19
+
Values will never be exposed to users, even to owners of the project.
20
+
Once you create an environment variable you won't be able to see its value anymore because of security purposes.
20
21
21
-
After adding an environment variable from your project's admin, you can access it from your build process using Python, for example:
22
+
After adding an environment variable from your project's admin, you can access it from your build process using Python,
Copy file name to clipboardExpand all lines: docs/single_version.rst
+7-3
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,17 @@ You can see a live example of this at http://www.contribution-guide.org
12
12
Enabling
13
13
~~~~~~~~
14
14
15
-
You can toggle the "Single Version" option on or off for your project in the Project Admin page. Check your `dashboard`_ for a list of your projects.
15
+
You can toggle the "Single Version" option on or off for your project in the Project Admin page.
16
+
Check your :guilabel:`dashboard` for a list of your projects.
16
17
17
18
Effects
18
19
~~~~~~~
19
20
20
-
Links generated on Read the Docs will now point to the proper URL. For example, if pip was set as a "Single Version" project, then links to its documentation would point to ``http://pip.readthedocs.io/`` rather than the default ``http://pip.readthedocs.io/en/latest/``.
21
+
Links generated on Read the Docs will now point to the proper URL. For example,
22
+
if pip was set as a "Single Version" project, then links to its documentation would point to
23
+
``http://pip.readthedocs.io/`` rather than the default ``http://pip.readthedocs.io/en/latest/``.
21
24
22
-
Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatibility reasons. However, our usage of :doc:`canonical` should stop these from being indexed by Google.
25
+
Documentation at ``/<language>/<default_version>/`` will still be served for backwards compatibility reasons.
26
+
However, our usage of :doc:`canonical` should stop these from being indexed by Google.
* For **Payload URL**, use the URL of the integration on Read the Docs,
49
-
found on the project's **Integrations** Admin dashboard page. You may need to prepend *https://* to the URL.
49
+
found on the project's :guilabel:`Admin` > :guilabel:`Integrations` page.
50
+
You may need to prepend *https://* to the URL.
50
51
* For **Content type**, both *application/json* and
51
52
*application/x-www-form-urlencoded* work
52
53
* Select **Let me select individual events**,
53
54
and mark **Pushes**, **Branch or tag creation**, and **Branch or tag deletion** events
54
55
* Leave the **Secrets** field black
55
56
* Finish by clicking **Add webhook**
56
57
57
-
You can verify if the webhook is working at the bottom of the GitHub page under **Recent Deliveries**. If you see a Response 200, then the webhook is correctly configured.
58
+
You can verify if the webhook is working at the bottom of the GitHub page under **Recent Deliveries**.
59
+
If you see a Response 200, then the webhook is correctly configured.
58
60
For a 403 error, it's likely that the Payload URL is incorrect.
59
61
60
62
.. note:: The webhook token, intended for the GitHub **Secret** field, is not yet implemented.
@@ -64,10 +66,9 @@ For a 403 error, it's likely that the Payload URL is incorrect.
64
66
Bitbucket
65
67
~~~~~~~~~
66
68
67
-
* Go to the **Settings** page for your project
68
-
* Click **Webhooks** and then **Add webhook**
69
+
* Go to the :guilabel:`Settings` > :guilabel:`Webhooks` > :guilabel:`Add webhook` page for your project
69
70
* For **URL**, use the URL of the integration on Read the Docs,
70
-
found on the **Dashboard** > **Admin** > **Integrations** page
71
+
found on the :guilabel:`Admin` > :guilabel:`Integrations` page
71
72
* Under **Triggers**, **Repository push** should be selected
72
73
* Finish by clicking **Save**
73
74
@@ -76,10 +77,9 @@ Bitbucket
76
77
GitLab
77
78
~~~~~~
78
79
79
-
* Go to the **Settings** page for your project
80
-
* Click **Integrations**
80
+
* Go to the :guilabel:`Settings` > :guilabel:`Integrations` page for your project
81
81
* For **URL**, use the URL of the integration on Read the Docs,
82
-
found on the **Dashboard** > **Admin** > **Integrations** page
82
+
found on the :guilabel:`Admin` > :guilabel:`Integrations` page
83
83
* Leave the default **Push events** selected and mark **Tag push events** also
84
84
* Finish by clicking **Add Webhook**
85
85
@@ -89,9 +89,9 @@ Using the generic API integration
89
89
---------------------------------
90
90
91
91
For repositories that are not hosted with a supported provider, we also offer a
92
-
generic API endpoint for triggering project builds. Similar to webhook
93
-
integrations, this integration has a specific URL, found on the project's
94
-
**Integrations** Admin dashboard page on readthedocs.org.
92
+
generic API endpoint for triggering project builds. Similar to webhook integrations,
93
+
this integration has a specific URL, which can be found on the project's **Integrations** dashboard page
94
+
(:guilabel:`Admin` > :guilabel:`Integrations`).
95
95
96
96
Token authentication is required to use the generic endpoint, you will find this
97
97
token on the integration details page. The token should be passed in as a
@@ -109,8 +109,8 @@ branches
109
109
Default: **latest**
110
110
111
111
token
112
-
The integration token. You'll find this value on the project's
113
-
**Integrations** Admin dashboard page.
112
+
The integration token found on the project's **Integrations** dashboard page
113
+
(:guilabel:`Admin` > :guilabel:`Integrations`).
114
114
115
115
For example, the cURL command to build the ``dev`` branch, using the token
0 commit comments