Skip to content

Commit 0df7ee6

Browse files
committed
fix snippet location syntax
Signed-off-by: Sylvain Hellegouarch <[email protected]>
1 parent 1ca9e94 commit 0df7ee6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ markdown_extensions:
5858
- pymdownx.tasklist:
5959
custom_checkbox: True
6060
- pymdownx.tilde
61+
- pymdownx.snippets:
62+
base_path: "sources/shared"
6163
plugins:
6264
- search
6365
- minify:

sources/reference/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ when a certificate expires.
117117

118118
=== "JSON"
119119
```json
120-
{!code/tutorials/a-simple-walkthrough/experiment.json!}
120+
--8<-- "code/tutorials/a-simple-walkthrough/experiment.json"
121121
```
122122
=== "YAML"
123123
```yaml
124-
{!code/tutorials/a-simple-walkthrough/experiment.yaml!}
124+
--8<-- "code/tutorials/a-simple-walkthrough/experiment.yaml"
125125
```
126126

127127
#### The Various Sections of an Experiment

0 commit comments

Comments
 (0)