Skip to content

Commit

Permalink
feat: update policy server cli reference documentation.
Browse files Browse the repository at this point in the history
Updates the CI to update the documentation with the policy server CLI
reference documentation.

Signed-off-by: José Guilherme Vanz <[email protected]>
  • Loading branch information
jvanz committed Jan 28, 2025
1 parent 7f0af53 commit 7b416ce
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
8 changes: 6 additions & 2 deletions updatecli/update-cli-ref-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
policies:
- name: Copy CLI reference documentation files
- name: Copy kwctl CLI reference documentation files
policy: ghcr.io/jvanz/updatecli/policies/copy:0.1.0
values:
- values.d/update-cli-ref-docs.yaml
- values.d/update-kwctl-cli-ref-docs.yaml
- name: Copy policy server CLI reference documentation files
policy: ghcr.io/jvanz/updatecli/policies/copy:0.1.0
values:
- values.d/update-policy-server-cli-ref-docs.yaml
- name: Add header to the CLI reference documentation
config:
- updatecli.d/headers.yaml
Expand Down
9 changes: 9 additions & 0 deletions updatecli/values.d/headers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ files:
doc_persona: "[kubewarden-operator]"
doc_type: "[reference]"
doc_topic: "[operator-manual]"
- path: "docs/reference/policy-server-cli.md"
sidebar_label: Policy Server CLI Reference
sidebar_position: 121
title: Policy Server CLI
description: Policy Server CLI reference documentation
keywords: "[cli, reference, policy-server]"
doc_persona: "[kubewarden-operator]"
doc_type: "[reference]"
doc_topic: "[operator-manual]"
scm:
branch: "main"
pr:
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions updatecli/values.d/update-policy-server-cli-ref-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Values.yaml contains settings that be used from Updatecli manifest.
files:
- src: "cli-docs.md"
dst: "docs/reference/policy-server-cli.md"
src:
branch: "main"
url: "https://github.com/jvanz/policy-server.git"

0 comments on commit 7b416ce

Please sign in to comment.