Skip to content

Commit eac1057

Browse files
committed
Convert prose ref links to snake-case
1 parent a1921d5 commit eac1057

7 files changed

+112
-112
lines changed

docs/architecture.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ helpers on Windows.
7979

8080
### Cross-platform UI
8181

82-
We hope to be able to migrate the WPF/Windows only helpers to [Avalonia][]
82+
We hope to be able to migrate the WPF/Windows only helpers to [Avalonia][avalonia]
8383
in order to gain cross-platform graphical user interface support. See
8484
[GCM issue 136][issue-136] for up-to-date progress on this effort.
8585

@@ -161,7 +161,7 @@ The `Get|Store|EraseCommand`s consult the host provider registry for the most
161161
appropriate host provider. The default registry implementation select the a host
162162
provider by asking each registered provider in turn if they understand the
163163
request. The provider selection can be overridden by the user via the
164-
[`credential.provider`][] or [`GCM_PROVIDER`][]
164+
[`credential.provider`][credential-provider] or [`GCM_PROVIDER`][gcm-provider]
165165
configuration and environment variable respectively (3).
166166

167167
The `Get|Store|EraseCommand`s call the corresponding
@@ -279,8 +279,8 @@ to the trace object in most places of GCM.
279279

280280
[avalonia]: https://avaloniaui.net/
281281
[core-program]: ../src/shared/Git-Credential-Manager/Program.cs
282-
[`credential.provider`]: configuration.md#credentialprovider
282+
[credential-provider]: configuration.md#credentialprovider
283283
[issue-113]: https://github.com/GitCredentialManager/git-credential-manager/issues/113
284284
[issue-136]: https://github.com/GitCredentialManager/git-credential-manager/issues/136
285-
[`GCM_PROVIDER`]: environment.md#GCM_PROVIDER
285+
[gcm-provider]: environment.md#GCM_PROVIDER
286286
[msal]: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet

docs/autodetect.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ received by Git. To avoid this network call, please [explicitly configure][expli
3232
the host provider for your self-hosted instance.
3333

3434
After a successful detection of the host provider, GCM will automatically set
35-
the [`credential.provider`][] configuration entry
35+
the [`credential.provider`][credential-provider] configuration entry
3636
for that remote to avoid needing to perform this expensive network call in
3737
future requests.
3838

3939
### Timeout
4040

4141
You can control how long GCM will wait for a response to the remote network call
42-
by setting the [`GCM_AUTODETECT_TIMEOUT`][]
43-
environment variable, or the [`credential.autoDetectTimeout`][]
42+
by setting the [`GCM_AUTODETECT_TIMEOUT`][gcm-autodetect-timeout]
43+
environment variable, or the [`credential.autoDetectTimeout`][credential-autoDetectTimeout]
4444
Git configuration setting to the maximum number of milliseconds to wait.
4545

4646
The default value is 2000 milliseconds (2 seconds). You can prevent the network
@@ -52,8 +52,8 @@ If the auto-detection mechanism fails to select the correct host provider, or
5252
if the remote probing network call is causing performance issues, you can
5353
configure GCM to always use a particular host provider, for a given remote URL.
5454

55-
You can either use the the [`GCM_PROVIDER`][]
56-
environment variable, or the [`credential.provider`][]
55+
You can either use the the [`GCM_PROVIDER`][gcm-provider]
56+
environment variable, or the [`credential.provider`][credential-provider]
5757
Git configuration setting for this purpose.
5858

5959
For example to tell GCM to always use the GitHub host provider for the
@@ -63,8 +63,8 @@ For example to tell GCM to always use the GitHub host provider for the
6363
git config --global credential.ghe.example.com.provider github
6464
```
6565

66-
[`credential.autoDetectTimeout`]: configuration.md#credentialautodetecttimeout
67-
[`credential.provider`]: configuration.md#credentialprovider
66+
[credential-autoDetectTimeout]: configuration.md#credentialautodetecttimeout
67+
[credential-provider]: configuration.md#credentialprovider
6868
[explicit-config]: #manual-configuration
69-
[`GCM_AUTODETECT_TIMEOUT`]: environment.md#GCM_AUTODETECT_TIMEOUT
70-
[`GCM_PROVIDER`]: environment.md#GCM_PROVIDER
69+
[gcm-autodetect-timeout]: environment.md#GCM_AUTODETECT_TIMEOUT
70+
[gcm-provider]: environment.md#GCM_PROVIDER

docs/azrepos-users-and-tokens.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The Azure Repos host provider supports creating multiple types of credential:
88
- Microsoft identity OAuth tokens
99

1010
To select which type of credential the Azure Repos host provider will create
11-
and use, you can set the [`credential.azreposCredentialType`][]
12-
configuration entry (or [`GCM_AZREPOS_CREDENTIALTYPE`][]
11+
and use, you can set the [`credential.azreposCredentialType`][credential-azreposCredentialType]
12+
configuration entry (or [`GCM_AZREPOS_CREDENTIALTYPE`][gcm-azrepos-credential-type]
1313
environment variable).
1414

1515
### Azure DevOps personal access tokens
@@ -219,7 +219,7 @@ fabrikam:
219219
```
220220

221221
[azure-devops-pats]: https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page
222-
[`credential.azreposCredentialType`]: configuration.md#credentialazreposcredentialtype
223-
[`GCM_AZREPOS_CREDENTIALTYPE`]: environment.md#GCM_AZREPOS_CREDENTIALTYPE
222+
[credential-azreposCredentialType]: configuration.md#credentialazreposcredentialtype
223+
[gcm-azrepos-credential-type]: environment.md#GCM_AZREPOS_CREDENTIALTYPE
224224
[azure-devops-api]: https://docs.microsoft.com/en-gb/rest/api/azure/devops/tokens/pats
225225
[rfc3986-s321]: https://tools.ietf.org/html/rfc3986#section-3.2.1

docs/bitbucket-development.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,26 +65,26 @@ The Access and Refresh Tokens will be stored against the username and the userna
6565

6666
## On-Premise Bitbucket
6767

68-
On-premise Bitbucket, more correctly known as Bitbucket Server or Bitbucket DC, has a number of differences compared to the cloud instance of Bitbucket, [bitbucket.org][].
68+
On-premise Bitbucket, more correctly known as Bitbucket Server or Bitbucket DC, has a number of differences compared to the cloud instance of Bitbucket, [bitbucket.org][bitbucket].
6969

7070
As far as GCMC is concerned the main difference it doesn't support OAuth so only Basic Authentication is available.
7171

7272
It is possible to test with Bitbucket Server by running it locally using the following command from the Atlassian SDK:
7373

7474
❯ atlas-run-standalone --product bitbucket
7575

76-
See the developer documentation for [atlas-run-standalone][].
76+
See the developer documentation for [atlas-run-standalone][atlas-run-standalone].
7777

7878
This will download and run a standalone instance of Bitbucket Server which can be accessed using the credentials `admin`/`admin` at
7979

8080
https://localhost:7990/bitbucket
8181

82-
Atlassian has [documentation][] on how to download and install their SDK.
82+
Atlassian has [documentation][atlassian-sdk] on how to download and install their SDK.
8383

8484
[additional-info]:https://confluence.atlassian.com/display/BITBUCKET/App+passwords
8585
[atlas-run-standalone]: https://developer.atlassian.com/server/framework/atlassian-sdk/atlas-run-standalone/
86-
[bitbucket.org]: https://bitbucket.org
86+
[bitbucket]: https://bitbucket.org
8787
[2fa-impl]: https://confluence.atlassian.com/bitbucket/two-step-verification-777023203.html
8888
[oauth-impl]: https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html
89-
[documentation]: https://developer.atlassian.com/server/framework/atlassian-sdk/
89+
[atlassian-sdk]: https://developer.atlassian.com/server/framework/atlassian-sdk/
9090
[wincred-manager]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa374792(v=vs.85).aspx

0 commit comments

Comments
 (0)