Skip to content

Commit 9fa0154

Browse files
Refactor docs: Moved headers and summaries to the config & blueprint files
1 parent 4198309 commit 9fa0154

File tree

25 files changed

+89
-96
lines changed

25 files changed

+89
-96
lines changed

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-files/_gitlab_integration_example_package_blueprint.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary>Package blueprint</summary>
13
```json showLineNumbers
24
{
35
"identifier": "package",
@@ -26,4 +28,5 @@
2628
"aggregationProperties": {},
2729
"relations": {}
2830
}
29-
```
31+
```
32+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-files/_gitlab_integration_example_package_config.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary> Integration mapping </summary>
13
```yaml showLineNumbers
24
resources:
35
- kind: file
@@ -21,3 +23,4 @@ resources:
2123
package: .item.key
2224
version: .item.value
2325
```
26+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-folders/_gitlab_integration_example_folder_blueprint.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary>Folder blueprint</summary>
13
```json showLineNumbers
24
{
35
"identifier": "gitlabFolder",
@@ -32,4 +34,5 @@
3234
}
3335
}
3436
}
35-
```
37+
```
38+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-folders/_gitlab_integration_example_folder_config.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary> Integration mapping </summary>
13
```yaml showLineNumbers
24
resources:
35
- kind: project
@@ -40,4 +42,5 @@ resources:
4042
readme: file://README.md
4143
relations:
4244
project: .references.full | gsub("!.+"; "")
43-
```
45+
```
46+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-groups/_gitlab_exporter_example_group_repository_port_app_config.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<details>
2-
32
<summary> Integration mapping </summary>
4-
53
```yaml showLineNumbers
64
deleteDependentEntities: true
75
createMissingRelatedEntities: true
@@ -43,5 +41,4 @@ resources:
4341
.path_with_namespace | gsub(" "; "") | split("/") | .[:-1] |
4442
join("/")
4543
```
46-
4744
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-groups/_gitlab_integration_example_group_blueprint.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary>Group blueprint</summary>
13
```json
24
{
35
"identifier": "gitlabGroup",
@@ -39,4 +41,5 @@
3941
"aggregationProperties": {},
4042
"relations": {}
4143
}
42-
```
44+
```
45+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-groups/_gitlab_integration_example_group_config.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary> Integration mapping </summary>
13
```yaml showLineNumbers
24
resources:
35
- kind: group
@@ -13,4 +15,5 @@ resources:
1315
url: .web_url
1416
visibility: .visibility
1517
description: .description
16-
```
18+
```
19+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-groups/_gitlab_integration_example_group_members_blueprint.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary>Group with members blueprint</summary>
13
```json showLineNumbers
24
{
35
"identifier": "gitlabGroup",
@@ -46,4 +48,5 @@
4648
}
4749
}
4850
}
49-
```
51+
```
52+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-groups/_gitlab_integration_example_group_members_config.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary> Integration mapping </summary>
13
```yaml showLineNumbers
24
resources:
35
- kind: group-with-members
@@ -15,4 +17,5 @@ resources:
1517
description: .description
1618
relations:
1719
gitlabMembers: .__members | map(.username)
18-
```
20+
```
21+
</details>

docs/build-your-software-catalog/sync-data-to-catalog/git/gitlab-v2/example-issues/_gitlab_integration_example_issue_blueprint.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<details>
2+
<summary>Issue blueprint</summary>
13
```json
24
{
35
"identifier": "gitlabIssue",
@@ -57,4 +59,5 @@
5759
}
5860
}
5961
}
60-
```
62+
```
63+
</details>

0 commit comments

Comments
 (0)