Skip to content

Commit

Permalink
updated example yaml file in tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
fktn-k committed Nov 8, 2023
1 parent 6f08715 commit d85d6e2
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions docs/mkdocs/docs/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,20 @@ See [the CMake Integration section]() for the other ways and modify the implemen

```yaml
novels:
- title: "Robinson Crusoe"
author: "Daniel Defoe"
- title: Robinson Crusoe
author: Daniel Defoe
year: 1678
- title: "Frankenstein"
author: "Jane Austen"
- title: Frankenstein
author: Jane Austen
year: 1818
- title: "Moby-Dick"
author: "Herman Melville"
- title: Moby-Dick
author: Herman Melville
year: 1851
- title: "Brave New World"
author: "Aldous Huxley"
- title: Brave New World
author: Aldous Huxley
year: 1932
- title: "Never Let Me Go"
author: "Kazuo Ishiguro"
- title: Never Let Me Go
author: Kazuo Ishiguro
year: 2005
```
=== "tutorial.cpp"
Expand Down Expand Up @@ -133,24 +133,24 @@ If you run the tutorial executable file, you will see the output like:
```bash
novels:
-
title: "Robinson Crusoe"
author: "Daniel Defoe"
title: Robinson Crusoe
author: Daniel Defoe
year: 1678
-
title: "Frankenstein"
author: "Jane Austen"
title: Frankenstein
author: Jane Austen
year: 1818
-
title: "Moby-Dick"
author: "Herman Melville"
title: Moby-Dick
author: Herman Melville
year: 1851
-
title: "Brave New World"
author: "Aldous Huxley"
title: Brave New World
author: Aldous Huxley
year: 1932
-
title: "Never Let Me Go"
author: "Kazuo Ishiguro"
title: Never Let Me Go
author: Kazuo Ishiguro
year: 2005
```

Expand Down Expand Up @@ -241,20 +241,20 @@ Rebuild and run the application, and you'll see the output like:
```bash
recommends:
-
title: "Robinson Crusoe"
author: "Daniel Defoe"
title: Robinson Crusoe
author: Daniel Defoe
-
title: "Frankenstein"
author: "Jane Austen"
title: Frankenstein
author: Jane Austen
-
title: "Moby-Dick"
author: "Herman Melville"
title: Moby-Dick
author: Herman Melville
-
title: "Brave New World"
author: "Aldous Huxley"
title: Brave New World
author: Aldous Huxley
-
title: "Never Let Me Go"
author: "Kazuo Ishiguro"
title: Never Let Me Go
author: Kazuo Ishiguro
```

### :pill: Integrate with user-defined types
Expand Down

0 comments on commit d85d6e2

Please sign in to comment.