Skip to content

Commit

Permalink
Replace example category with README.mdx file
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-schwarz committed Jan 18, 2024
1 parent e6c948a commit aa37016
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions apps/docs/docs/user/examples/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
#
# SPDX-License-Identifier: AGPL-3.0-only

!README.mdx
*.md
15 changes: 15 additions & 0 deletions apps/docs/docs/user/examples/README.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
sidebar_position: 10
---

# Jayvee Examples

Examples of Jayvee models.
Copy them to your local file system and execute them with the `jv` command on your command line (see [usage](/docs/user/intro#usage)).
You can [find all examples on Github](https://github.com/jvalue/jayvee/tree/main/example).

```mdx-code-block
import DocCardList from '@theme/DocCardList';
<DocCardList />
```
8 changes: 0 additions & 8 deletions apps/docs/docs/user/examples/_category_.json

This file was deleted.

2 changes: 1 addition & 1 deletion apps/docs/docs/user/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jv <file> -d --debug-granularity peek --debug-target MyExtractorBlock,MySinkBloc

## Examples

You can find [multiple examples with inline explanations](/category/jayvee-examples).
You can find multiple examples with inline explanations [here](./examples/README.mdx).

This comment has been minimized.

Copy link
@tordans

tordans Jan 18, 2024

Contributor

@georg-schwarz Just another quick nudge that "here" is one of the worse ways to link on the web. There are a few articles on this topic (I don't have a specific one in mind, so I liked to a list of them…).


## VSCode Plugin

Expand Down

0 comments on commit aa37016

Please sign in to comment.