# HG changeset patch # User Marcin Kuzminski # Date 2017-06-29 09:36:13 # Node ID 25c48cf52d57d2d46587bd35ffffea4beacfd30d # Parent b193ee24bc0626b3c941f470dc8ad4ceb244402a docs: small rst fixes. diff --git a/docs/admin/nginx-config-example.rst b/docs/admin/nginx-config-example.rst --- a/docs/admin/nginx-config-example.rst +++ b/docs/admin/nginx-config-example.rst @@ -5,6 +5,7 @@ Use the following example to configure N .. 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; diff --git a/docs/api/methods/deprecated-methods.rst b/docs/api/methods/deprecated-methods.rst --- a/docs/api/methods/deprecated-methods.rst +++ b/docs/api/methods/deprecated-methods.rst @@ -38,13 +38,13 @@ changeset_comment Example error output: - .. code-block:: json + .. code-block:: javascript { - "id" : , + "id" : "", "result" : { "msg": "Commented on commit `` for repository ``", - "status_change": null or , + "status_change": null or "", "success": true }, "error" : null diff --git a/docs/contributing/contributing.rst b/docs/contributing/contributing.rst --- a/docs/contributing/contributing.rst +++ b/docs/contributing/contributing.rst @@ -19,3 +19,8 @@ Welcome to the contribution guides and d dev-settings api dependencies + checklist-tickets + checklist-pull-request + frontend + standards + diff --git a/docs/integrations/ci.rst b/docs/integrations/ci.rst --- a/docs/integrations/ci.rst +++ b/docs/integrations/ci.rst @@ -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 diff --git a/docs/integrations/integrations.rst b/docs/integrations/integrations.rst --- a/docs/integrations/integrations.rst +++ b/docs/integrations/integrations.rst @@ -52,3 +52,4 @@ See pages specific to each type of integ jira webhook email + ci diff --git a/docs/tutorials/api-examples.rst b/docs/tutorials/api-examples.rst --- a/docs/tutorials/api-examples.rst +++ b/docs/tutorials/api-examples.rst @@ -48,14 +48,13 @@ 5. Use the API to strip a commit, or num # 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" } }