File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ your docs whenever you push updates:
40
40
If you ever need to manually set the webhook on Bitbucket,
41
41
you can point it at ``https://readthedocs.org/bitbucket ``.
42
42
43
+ GitLab
44
+ ---------
45
+
46
+ If your project is hosted on GitLab, you can easily add a hook that will rebuild
47
+ your docs whenever you push updates.
48
+
49
+ * Go to the "Settings" page for your project
50
+ * Click "Integrations"
51
+ * In the "URL" section, enter ``https://readthedocs.org/gitlab ``
52
+ * Leave the default "Push events" selected
53
+ * Click "Add Webhook"
54
+
43
55
Others
44
56
------
45
57
@@ -53,7 +65,7 @@ The following parameters available to customize the behavior of custom webhooks:
53
65
* ``'version_slug' ``: The build version to trigger build for (defaults to ``'latest' ``)
54
66
55
67
Example::
56
-
68
+
57
69
$ curl -X POST --data "version_slug=$VERSION" https://readthedocs.org/build/$PROJECT_NAME
58
70
59
71
You could make this part of a hook using Git _, Subversion _, Mercurial _, or
You can’t perform that action at this time.
0 commit comments