From 6ea9deab3d4966ed551ffe00618266184f5f4361 Mon Sep 17 00:00:00 2001 From: Enrico Alvarenga Date: Mon, 11 Sep 2023 08:34:42 -0700 Subject: [PATCH] docs(writing-templates): correct typos Signed-off-by: Enrico Alvarenga --- docs/features/software-templates/writing-templates.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md index 3594c395eb..95e9047bde 100644 --- a/docs/features/software-templates/writing-templates.md +++ b/docs/features/software-templates/writing-templates.md @@ -627,7 +627,7 @@ its components, such as `owner`, repository `name`, and more. extra: ${{ parameters.repoUrl | parseRepoUrl }} ``` -- **Input**: `https://github.com/backstage/backstage` +- **Input**: `github.com?repo=backstage&org=backstage` - **Output**: [RepoSpec](https://github.com/backstage/backstage/blob/v1.17.2/plugins/scaffolder-backend/src/scaffolder/actions/builtin/publish/util.ts#L39) ### parseEntityRef @@ -677,8 +677,8 @@ This `pick` filter allows you to select specific properties from an object. extra: ${{ parameters.owner | parseEntityRef | pick('name') }} ``` -- **Input**: `group:techdocs` -- **Output**: `techndocs` +- **Input**: `{ kind: 'Group', namespace: 'default', name: 'techdocs' }` +- **Output**: `techdocs` ### projectSlug @@ -694,5 +694,5 @@ The `projectSlug` filter generates a project slug from a repository URL extra: ${{ parameters.repoUrl | projectSlug }} ``` -- **Input**: `https://github.com/backstage/backstage` +- **Input**: `github.com?repo=backstage&org=backstage` - **Output**: `backstage/backstage`