diff --git a/site/_config.yml b/site/_config.yml index 4e04bd4bc..afed999a3 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -128,6 +128,7 @@ collections: versioning: true latest: v0.11.0 versions: +- master - v1.0.0-rc.1 - v0.11.0 - v0.10.0 diff --git a/site/docs/master/about.md b/site/docs/master/about.md index cb39b8ba9..1d9c5c174 100644 --- a/site/docs/master/about.md +++ b/site/docs/master/about.md @@ -73,7 +73,7 @@ This allows restore functionality to work in a cluster migration scenario, where Likewise, if a backup object exists in Kubernetes but not in object storage, it will be deleted from Kubernetes since the backup tarball no longer exists. [10]: hooks.md -[19]: /docs/img/backup-process.png +[19]: img/backup-process.png [20]: https://kubernetes.io/docs/concepts/api-extension/custom-resources/#customresourcedefinitions [21]: https://kubernetes.io/docs/concepts/api-extension/custom-resources/#custom-controllers [22]: https://github.com/coreos/etcd diff --git a/site/docs/master/issue-template-gen/main.go b/site/docs/master/issue-template-gen/main.go deleted file mode 100644 index 5adc1b647..000000000 --- a/site/docs/master/issue-template-gen/main.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2018 the Velero contributors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// This code renders the IssueTemplate string in pkg/cmd/cli/bug/bug.go to -// .github/ISSUE_TEMPLATE/bug_report.md via the hack/update-generated-issue-template.sh script. - -package main - -import ( - "log" - "os" - "text/template" - - "github.com/heptio/velero/pkg/cmd/cli/bug" -) - -func main() { - outTemplateFilename := os.Args[1] - outFile, err := os.OpenFile(outTemplateFilename, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0644) - if err != nil { - log.Fatal(err) - } - defer outFile.Close() - tmpl, err := template.New("ghissue").Parse(bug.IssueTemplate) - if err != nil { - log.Fatal(err) - } - err = tmpl.Execute(outFile, bug.VeleroBugInfo{}) - if err != nil { - log.Fatal(err) - } -} diff --git a/site/docs/v0.10.0/issue-template-gen/main.go b/site/docs/v0.10.0/issue-template-gen/main.go deleted file mode 100644 index 19ef0ab85..000000000 --- a/site/docs/v0.10.0/issue-template-gen/main.go +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2018 the Heptio Ark contributors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// This code renders the IssueTemplate string in pkg/cmd/cli/bug/bug.go to -// .github/ISSUE_TEMPLATE/bug_report.md via the hack/update-generated-issue-template.sh script. - -package main - -import ( - "log" - "os" - "text/template" - - "github.com/heptio/ark/pkg/cmd/cli/bug" -) - -func main() { - outTemplateFilename := os.Args[1] - outFile, err := os.OpenFile(outTemplateFilename, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0644) - if err != nil { - log.Fatal(err) - } - defer outFile.Close() - tmpl, err := template.New("ghissue").Parse(bug.IssueTemplate) - if err != nil { - log.Fatal(err) - } - err = tmpl.Execute(outFile, bug.ArkBugInfo{}) - if err != nil { - log.Fatal(err) - } -}