Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions styles/Datadog/app_links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is used to lint links to internal Datadog environments that are not accessible to customers.
extends: substitution
message: "This looks like a private app link. Use '%s' instead of '%s'."
link: "https://github.com/DataDog/documentation/blob/master/CONTRIBUTING.md#links"
ignorecase: true
level: error
scope: raw
action:
name: replace
swap:
# Matches known internal subdomain patterns on the product domain
'https?://(?:dd[a-zA-Z0-9\-]*|demo)\.datadoghq\.com': https://app.datadoghq.com
# Matches the internal zero-substitution domain variant
'https?://(?:[a-zA-Z0-9][a-zA-Z0-9\-]*\.)?datad0g\.com': https://app.datadoghq.com
# Matches app.datadog.com (missing 'hq')
'https?://app\.datadog\.com': https://app.datadoghq.com
Loading