Skip to content

Commit f2cf467

Browse files
committed
docs(cli): use inline anonymous references for external links
There doesn't seem to be an obvious way to use an alias for identical text labels that link to different targets. With inline links we can work around this shortcoming. Until we know better.
1 parent 265dbbd commit f2cf467

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/cli-usage.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,23 +98,24 @@ server, with very limited permissions.
9898
* - ``url``
9999
- URL for the GitLab server
100100
* - ``private_token``
101-
- Your user token. Login/password is not supported. Refer to `the official
102-
documentation`_pat to learn how to obtain a token.
101+
- Your user token. Login/password is not supported. Refer to `the
102+
official documentation
103+
<https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html>`__
104+
to learn how to obtain a token.
103105
* - ``oauth_token``
104106
- An Oauth token for authentication. The Gitlab server must be configured
105107
to support this authentication method.
106108
* - ``job_token``
107-
- Your job token. See `the official documentation`_job-token to learn how to obtain a token.
109+
- Your job token. See `the official documentation
110+
<https://docs.gitlab.com/ce/api/jobs.html#get-job-artifacts>`__
111+
to learn how to obtain a token.
108112
* - ``api_version``
109113
- GitLab API version to use. Only ``4`` is available since 1.5.0.
110114
* - ``http_username``
111115
- Username for optional HTTP authentication
112116
* - ``http_password``
113117
- Password for optional HTTP authentication
114118

115-
.. _pat: https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html
116-
.. _job-token: https://docs.gitlab.com/ce/api/jobs.html#get-job-artifacts
117-
118119
CLI
119120
===
120121

0 commit comments

Comments
 (0)