Skip to content

Commit 3dc7a46

Browse files
committed
Merge branch 'master' into rtrieu/cdocs-ccm-cost-allocation
2 parents 7de1c74 + 195e27b commit 3dc7a46

File tree

428 files changed

+45396
-5958
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+45396
-5958
lines changed

.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
},

assets/styles/components/_table-of-contents.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ body > header.scrolled ~ .container .mobile-toc-toggle {
228228
display: none;
229229
@media (min-width: 991px) {
230230
display: block;
231-
margin-top: -1rem;
232231
}
233232

234233
a {
@@ -257,6 +256,12 @@ body > header.scrolled ~ .container .mobile-toc-toggle {
257256
}
258257
}
259258

259+
.toc-edit-btn + .toc-copy-btn {
260+
@media (min-width: 991px) {
261+
margin-top: -1rem;
262+
}
263+
}
264+
260265
.copy-btn-icon {
261266
position: absolute;
262267
top: 0;

config/_default/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ enableRobotsTXT: true
88
# don't publish cdocs source files
99
ignoreFiles:
1010
- "\\.mdoc\\.md$"
11+
- "\\.tempAst\\.json$"
1112
- "^integrations_data/"
1213
- "^hugpython/"
1314
- "^examples/"
@@ -136,6 +137,9 @@ module:
136137
target: static
137138
- source: layouts
138139
target: layouts
140+
excludeFiles:
141+
- 'shortcodes/.cdocs_temp/*'
142+
- 'shortcodes/mdoc/*'
139143
- source: data
140144
target: data
141145
- source: static

0 commit comments

Comments
 (0)