fix(docs): fixed docs build
This commit is contained in:
parent
4d51dc13c8
commit
8561b8b8e2
1 changed files with 4 additions and 3 deletions
|
|
@ -80,8 +80,9 @@ the permissions onto *all* repositories and/or repository groups.
|
|||
2a) Add user called 'admin' into all repositories with write permission.
|
||||
Permissions can be also `repository.read`, `repository.admin`, `repository.none`
|
||||
|
||||
|
||||
.. code-block:: python
|
||||
:dedent: 1
|
||||
:dedent:
|
||||
|
||||
In [1]: from rhodecode.model.repo import RepoModel
|
||||
In [2]: user = User.get_by_username('admin')
|
||||
|
|
@ -94,7 +95,7 @@ the permissions onto *all* repositories and/or repository groups.
|
|||
Permissions can be also can be `group.read`, `group.admin`, `group.none`
|
||||
|
||||
.. code-block:: python
|
||||
:dedent: 1
|
||||
:dedent:
|
||||
|
||||
In [1]: from rhodecode.model.repo import RepoModel
|
||||
In [2]: user = User.get_by_username('admin')
|
||||
|
|
@ -108,7 +109,7 @@ Delete a problematic pull request
|
|||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. code-block:: python
|
||||
:dedent: 1
|
||||
:dedent:
|
||||
|
||||
In [1]: from rhodecode.model.pull_request import PullRequestModel
|
||||
In [2]: pullrequest_id = 123
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue