Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 2a88561

Browse files
Merge pull request #2027 from splunk/feature/DOCS-1897
DOCS-1897 - Adding a class to the tables for indexing
2 parents 4f18a79 + bdd6d52 commit 2a88561

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

_static/jsonpull-splunk.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $(document).ready(function () {
88
});
99

1010
$('.instrumentation').each(function () {
11+
$(this).addClass('dynamic-yaml');
1112
let url = $(this).attr('url');
1213
let renamingDict = JSON.parse($(this).attr('data-renaming') || '{}');
1314
let section = $(this).attr('section') || 'instrumentation';
@@ -237,6 +238,7 @@ $(document).ready(function () {
237238
});
238239

239240
$('.metrics-config').each(function () {
241+
$(this).addClass('dynamic-yaml');
240242
if ($(this).data('processed')) {
241243
return;
242244
}
@@ -612,7 +614,7 @@ $(document).ready(function () {
612614
}
613615

614616
$('.metrics-component').each(function () {
615-
617+
$(this).addClass('dynamic-yaml');
616618
let url = $(this).attr('url');
617619
console.log(url);
618620
let metricsYamlObject = $(this);
@@ -647,7 +649,7 @@ $(document).ready(function () {
647649
});
648650

649651
$('.metrics-standard').each(function () {
650-
652+
$(this).addClass('dynamic-yaml');
651653
let url = $(this).attr('url');
652654
let metricsYamlObject = $(this);
653655

@@ -683,7 +685,7 @@ $(document).ready(function () {
683685
});
684686

685687
$('.metrics-yaml').each(function () {
686-
688+
$(this).addClass('dynamic-yaml');
687689
let url = $(this).attr('url');
688690
let metricsYamlObject = $(this);
689691
let category = $(this).attr('category');

0 commit comments

Comments
 (0)