Skip to content

Commit 73cbe26

Browse files
hestonhoffmanjhgilbert
authored andcommitted
(cdocs)(rum) Advanced configuration (#33381)
* (cdocs)(rum) Advanced configuration * Bump package * wip * Rename page * Add file to .gitignore * First round * version numbers * wip * wip * wip * Fix gitignore * Bump package with version fix * Bump for fix * bump * wip * wip * Update and bump * Bump hugo integration * gitignore shenanigans * Small test page * Bump cdocs * Tweak bundling settings * Bump version * Bump version * Bump for test * Apply suggestion from @hestonhoffman * Undo test changes * Remove test page from gitignore * Fix logical errors * Remove stray file * Apply suggestions from code review Co-authored-by: Jen Gilbert <jen.gilbert@datadoghq.com> --------- Co-authored-by: Jen Gilbert <jen.gilbert@datadoghq.com>
1 parent 3cd30a6 commit 73cbe26

5 files changed

Lines changed: 685 additions & 732 deletions

File tree

.vscode/markdoc.code-snippets

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@
7070
"description": "Markdoc if tag with equals condition"
7171
},
7272

73+
"Version": {
74+
"scope": "markdoc",
75+
"prefix": ";;version",
76+
"body": [
77+
"<!-- Version must meet ${1:version} -->",
78+
"{% if semverIsAtLeast($${2:semver_trait_id}, \"${1:version}\") %}",
79+
"${3:Content shown if version is met}",
80+
"{% /if %}",
81+
"<!-- ends ${1:version} -->"
82+
],
83+
"description": "Show content that meets a semantic version"
84+
},
85+
7386
"Image": {
7487
"scope": "markdoc",
7588
"prefix": ";;image",
@@ -81,7 +94,7 @@
8194

8295
"Video": {
8396
"scope": "markdoc",
84-
"prefix": ";;;video",
97+
"prefix": ";;video",
8598
"body": ["{% img src=\"${1:path/to/video.mp4}\" alt=\"${2:Descriptive video alt text}\" video=\"true\" /%}"],
8699
"description": "Markdoc video tag using img with video attribute"
87100
},

content/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# This file lists compiled Cdocs files to keep them out of version control. For more information, see the internal Cdocs documentation: https://datadoghq.atlassian.net/wiki/spaces/docs4docs/pages/4898063037/Cdocs+Build
77

88
/en/opentelemetry/instrument/dd_sdks/api_support.md
9+
/en/real_user_monitoring/application_monitoring/browser/advanced_configuration.md
910
/en/real_user_monitoring/correlate_with_other_telemetry/profiling/_index.md
1011
/en/real_user_monitoring/guide/proxy-mobile-rum-data.md
1112
/en/real_user_monitoring/guide/proxy-rum-data.md

0 commit comments

Comments
 (0)