Skip to content

Commit c4e02b4

Browse files
committed
fix: add show line numbers to yaml examples
1 parent da38077 commit c4e02b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/build-your-software-catalog/sync-data-to-catalog/git/github-ocean/github-ocean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ Here's an example that ingests the raw content of a `values.yaml` file into the
806806

807807
<details>
808808
<summary><b>File mapping example for ingesting raw content (click to expand)</b></summary>
809-
```yaml
809+
```yaml showLineNumbers
810810
resources:
811811
- kind: file
812812
selector:

docs/build-your-software-catalog/sync-data-to-catalog/git/github-ocean/gitops/gitops.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For example, say you want to ingest a `package.json` file form your repository.
129129
Optional if `githubOrganization` is set; required only when not set.
130130
:::
131131

132-
```yaml
132+
```yaml showLineNumbers
133133
resources:
134134
...
135135
- kind: file
@@ -152,7 +152,7 @@ resources:
152152

153153
The `selector.files.path` key also supports glob patterns, so you can ingest multiple files by matching against a pattern and create an entity in Port for each one, for example:
154154

155-
```yaml
155+
```yaml showLineNumbers
156156
- kind: file
157157
selector:
158158
query: 'true'

0 commit comments

Comments
 (0)