Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions hack/generate/cli-doc/gen-cli-doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,10 @@ func main() {
log.Fatalf("Failed to get current directory: %v", err)
}

legacyDocPath := filepath.Join(currentDir, "website", "content", "en", "docs", "cli", "ansible-helm")
legacyRoot := cli.GetCLIRoot()
legacyRoot.DisableAutoGenTag = true
recreateDocDir(legacyRoot, legacyDocPath)

newDocPath := filepath.Join(currentDir, "website", "content", "en", "docs", "cli", "golang")
_, newRoot := cli.GetPluginsCLIAndRoot()
newRoot.DisableAutoGenTag = true
recreateDocDir(newRoot, newDocPath)
cliDocsPath := filepath.Join(currentDir, "website", "content", "en", "docs", "cli")
_, cliRoot := cli.GetPluginsCLIAndRoot()
cliRoot.DisableAutoGenTag = true
recreateDocDir(cliRoot, cliDocsPath)
}

// htmlFormatter will replace angular brackets (`<` and `>`) with its character entitites
Expand Down
4 changes: 2 additions & 2 deletions proposals/ansible-helm-addapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ and subsequently [`func doAnsibleScaffold()`][doansible] or [`func doHelmScaffol
kind: Mykind
role: /opt/ansible/roles/mykind
```
[addapidoc]: https://sdk.operatorframework.io/docs/cli/operator-sdk_add_api/
[sdkclidoc]: https://sdk.operatorframework.io/docs/cli/
[addapidoc]: https://v0-19-x.sdk.operatorframework.io/docs/cli/operator-sdk_add_api/
[sdkclidoc]: https://v0-19-x.sdk.operatorframework.io/docs/cli/
[onlygorestriction]:https://github.com/operator-framework/operator-sdk/blob/master/cmd/operator-sdk/add/api.go#L95
[doansible]:https://github.com/operator-framework/operator-sdk/blob/master/cmd/operator-sdk/new/cmd.go#L228
[dohelm]:https://github.com/operator-framework/operator-sdk/blob/master/cmd/operator-sdk/new/cmd.go#L320
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Writing custom tests in other programming languages is possible
if the test image follows the above guidelines.


[cli-scorecard]: /docs/cli/golang/operator-sdk_scorecard/
[cli-scorecard]: /docs/cli/operator-sdk_scorecard/
[sample-config]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/testdata/bundle/tests/scorecard/config.yaml
[custom-image]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/examples/custom-scorecard-tests
[scorecard-struct]: https://github.com/operator-framework/operator-sdk/blob/master/pkg/apis/scorecard/v1alpha3/types.go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,6 @@ For more information, refer [cli][addcli] doc.
[go-tool]:https://golang.org/dl/
[docker-tool]:https://docs.docker.com/install/
[kubectl-tool]:https://kubernetes.io/docs/tasks/tools/install-kubectl/
[addcli]: /docs/cli/ansible-helm/operator-sdk_add_api
<!-- TODO: update this link to the non-legacy doc once the ansible plugin is publicly available -->
<!-- TODO: update these links to the new docs once the ansible plugin is publicly available -->
[addcli]: https://v0-19-x.sdk.operatorframework.io/docs/cli/operator-sdk_add_api
[quickstart-bundle]:https://v0-19-x.sdk.operatorframework.io/docs/olm-integration/legacy/quickstart-bundle/
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,6 @@ customresourcedefinitions:
[markers]:https://pkg.go.dev/sigs.k8s.io/controller-tools/pkg/markers
[code-markers-design]:https://github.com/operator-framework/operator-sdk/blob/master/proposals/sdk-code-annotations.md
[cli-gen-kustomize-manifests]:/docs/cli/golang/operator-sdk_generate_kustomize_manifests
[cli-gen-kustomize-manifests]:/docs/cli/operator-sdk_generate_kustomize_manifests
[csv-x-desc]:https://github.com/openshift/console/blob/feabd61/frontend/packages/operator-lifecycle-manager/src/components/descriptors/types.ts#L3-L39
[csv-spec]:https://github.com/operator-framework/operator-lifecycle-manager/blob/e0eea22/doc/design/building-your-csv.md
8 changes: 4 additions & 4 deletions website/content/en/docs/cli/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Commands(CLI)
linkTitle: Commands(CLI)
title: Command Line Interface
linkTitle: Commands
weight: 7
description: Working with operator-sdk cli
---
description: Working with the operator-sdk CLI
---
18 changes: 0 additions & 18 deletions website/content/en/docs/cli/ansible-helm/_index.md

This file was deleted.

27 changes: 0 additions & 27 deletions website/content/en/docs/cli/ansible-helm/operator-sdk.md

This file was deleted.

22 changes: 0 additions & 22 deletions website/content/en/docs/cli/ansible-helm/operator-sdk_add.md

This file was deleted.

103 changes: 0 additions & 103 deletions website/content/en/docs/cli/ansible-helm/operator-sdk_add_api.md

This file was deleted.

40 changes: 0 additions & 40 deletions website/content/en/docs/cli/ansible-helm/operator-sdk_build.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading