added info +screenshots on numeric format for autolinks
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 157 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 157 KiB |
BIN
assets/images/help/repository/autolink-format-setting.png
Normal file
BIN
assets/images/help/repository/autolink-format-setting.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 155 KiB |
@@ -21,7 +21,7 @@ shortTitle: Configure autolinks
|
||||
Anyone with admin permissions to a repository can configure autolink references to link issues, pull requests, commit messages, and release descriptions to external third-party services.
|
||||
|
||||
{% ifversion autolink-reference-alphanumeric %}
|
||||
Autolink references can now accept alphanumeric characters. When originally introduced, custom autolinks were limited to external resources that used numeric identifiers. Custom autolinks now work with alphanumeric identifiers. Legacy autolink references that recognize only numeric identifiers are deprecated and displayed with a "legacy" label.
|
||||
Autolink references can now accept alphanumeric characters. When originally introduced, custom autolinks were limited to external resources that used numeric identifiers. Custom autolinks now work with alphanumeric and numeric identifiers.
|
||||
|
||||
You define custom autolinks by specifying a reference prefix and a target URL.
|
||||
- Reference prefixes cannot have overlapping names. For example, a repository cannot have two custom autolinks with prefixes such as `TICKET` and `TICK`, since both prefixes would match the string `TICKET123a`.
|
||||
@@ -38,13 +38,17 @@ This procedure demonstrates how to configure autolinks to reference external res
|
||||
1. In the "Integrations" section of the sidebar, click **{% octicon "cross-reference" aria-label="The cross-reference icon" %} Autolink references**.
|
||||
{% else %}
|
||||
1. In the left sidebar, click **Autolink references**.
|
||||

|
||||

|
||||
{% endif %}
|
||||
1. Click **Add autolink reference**.
|
||||

|
||||
5. Under "Reference prefix", type a short, meaningful prefix you want collaborators to use to generate autolinks for the external resource.
|
||||
{% ifversion autolink-reference-alphanumeric %}{% else %}{% endif %}
|
||||
6. Under "Target URL", type the link to the external system you want to link to. Make sure to keep `<num>` as a variable for the reference number.
|
||||
{% ifversion autolink-reference-alphanumeric %}{% else %}{% endif %}
|
||||
7. Click **Add autolink reference**.
|
||||
{% ifversion autolink-reference-alphanumeric %}{% else %}{% endif %}
|
||||

|
||||
{% ifversion autolink-reference-alphanumeric %}
|
||||
1. Choose whether you want your autolinks to be alphanumeric or numeric.
|
||||

|
||||
{% endif %}
|
||||
1. Under "Reference prefix", type a short, meaningful prefix you want collaborators to use to generate autolinks for the external resource.
|
||||
{% ifversion autolink-reference-alphanumeric %}{% else %}{% endif %}
|
||||
1. Under "Target URL", type the link to the external system you want to link to. Make sure to keep `<num>` as a variable for the reference number.
|
||||
{% ifversion autolink-reference-alphanumeric %}{% else %}{% endif %}
|
||||
1. Click **Add autolink reference**.
|
||||
{% ifversion autolink-reference-alphanumeric %}{% else %}{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user