##// END OF EJS Templates
docs: small rst fixes.
marcink -
r1856:25c48cf5 stable
parent child Browse files
Show More
@@ -5,6 +5,7 b' Use the following example to configure N'
5
5
6
6
7 .. code-block:: nginx
7 .. code-block:: nginx
8
8 ## rate limiter for certain pages to prevent brute force attacks
9 ## rate limiter for certain pages to prevent brute force attacks
9 limit_req_zone $binary_remote_addr zone=dl_limit:10m rate=1r/s;
10 limit_req_zone $binary_remote_addr zone=dl_limit:10m rate=1r/s;
10
11
@@ -38,13 +38,13 b' changeset_comment'
38
38
39 Example error output:
39 Example error output:
40
40
41 .. code-block:: json
41 .. code-block:: javascript
42
42
43 {
43 {
44 "id" : <id_given_in_input>,
44 "id" : "<id_given_in_input>",
45 "result" : {
45 "result" : {
46 "msg": "Commented on commit `<revision>` for repository `<repoid>`",
46 "msg": "Commented on commit `<revision>` for repository `<repoid>`",
47 "status_change": null or <status>,
47 "status_change": null or "<status>",
48 "success": true
48 "success": true
49 },
49 },
50 "error" : null
50 "error" : null
@@ -19,3 +19,8 b' Welcome to the contribution guides and d'
19 dev-settings
19 dev-settings
20 api
20 api
21 dependencies
21 dependencies
22 checklist-tickets
23 checklist-pull-request
24 frontend
25 standards
26
@@ -35,7 +35,7 b' call for unspecified builds.'
35 A quick note on security. It's recommended to allow IP restrictions
35 A quick note on security. It's recommended to allow IP restrictions
36 to only allow RhodeCode server to trigger builds. If you need to
36 to only allow RhodeCode server to trigger builds. If you need to
37 specify username and password this could be done by embedding it into a
37 specify username and password this could be done by embedding it into a
38 trigger URL, e.g. `http://user:password@server.com/job/${project_id}
38 trigger URL, e.g. `http://user:password@server.com/job/${project_id}`
39
39
40
40
41 If users require to provide any custom parameters, they can be stored for each
41 If users require to provide any custom parameters, they can be stored for each
@@ -52,3 +52,4 b' See pages specific to each type of integ'
52 jira
52 jira
53 webhook
53 webhook
54 email
54 email
55 ci
@@ -48,14 +48,13 b' 5. Use the API to strip a commit, or num'
48
48
49 # Check the JSON-RPC verification
49 # Check the JSON-RPC verification
50
50
51 .. code-block:: jsonld
51 .. code-block:: javascript
52
52
53 {
53 {
54 "error": null,
54 "error": null,
55 "id": 5960,
55 "id": 5960,
56 "result": {
56 "result": {
57 "msg": "Stripped commit ad1e0523a4ab from
57 "msg": "Stripped commit ad1e0523a4ab from repo `repo-group/repo-name`",
58 repo `repo-group/repo-name`",
59 "repository": "repo-group/repo-name"
58 "repository": "repo-group/repo-name"
60 }
59 }
61 }
60 }
General Comments 0
You need to be logged in to leave comments. Login now