docs: small rst fixes.
This commit is contained in:
parent
3ff7d208b8
commit
711278bd27
6 changed files with 13 additions and 7 deletions
|
|
@ -5,6 +5,7 @@ Use the following example to configure Nginx as a your web server.
|
|||
|
||||
|
||||
.. code-block:: nginx
|
||||
|
||||
## rate limiter for certain pages to prevent brute force attacks
|
||||
limit_req_zone $binary_remote_addr zone=dl_limit:10m rate=1r/s;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,13 +38,13 @@ changeset_comment
|
|||
|
||||
Example error output:
|
||||
|
||||
.. code-block:: json
|
||||
.. code-block:: javascript
|
||||
|
||||
{
|
||||
"id" : <id_given_in_input>,
|
||||
"id" : "<id_given_in_input>",
|
||||
"result" : {
|
||||
"msg": "Commented on commit `<revision>` for repository `<repoid>`",
|
||||
"status_change": null or <status>,
|
||||
"status_change": null or "<status>",
|
||||
"success": true
|
||||
},
|
||||
"error" : null
|
||||
|
|
|
|||
|
|
@ -19,3 +19,8 @@ Welcome to the contribution guides and development docs of RhodeCode.
|
|||
dev-settings
|
||||
api
|
||||
dependencies
|
||||
checklist-tickets
|
||||
checklist-pull-request
|
||||
frontend
|
||||
standards
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ call for unspecified builds.
|
|||
A quick note on security. It's recommended to allow IP restrictions
|
||||
to only allow RhodeCode server to trigger builds. If you need to
|
||||
specify username and password this could be done by embedding it into a
|
||||
trigger URL, e.g. `http://user:password@server.com/job/${project_id}
|
||||
trigger URL, e.g. `http://user:password@server.com/job/${project_id}`
|
||||
|
||||
|
||||
If users require to provide any custom parameters, they can be stored for each
|
||||
|
|
|
|||
|
|
@ -52,3 +52,4 @@ See pages specific to each type of integration for more instructions:
|
|||
jira
|
||||
webhook
|
||||
email
|
||||
ci
|
||||
|
|
|
|||
|
|
@ -48,14 +48,13 @@ the following steps:
|
|||
|
||||
# Check the JSON-RPC verification
|
||||
|
||||
.. code-block:: jsonld
|
||||
.. code-block:: javascript
|
||||
|
||||
{
|
||||
"error": null,
|
||||
"id": 5960,
|
||||
"result": {
|
||||
"msg": "Stripped commit ad1e0523a4ab from
|
||||
repo `repo-group/repo-name`",
|
||||
"msg": "Stripped commit ad1e0523a4ab from repo `repo-group/repo-name`",
|
||||
"repository": "repo-group/repo-name"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue