Skip to content

Commit 859c14e

Browse files
committed
Fix broken dir listing by using github URLs
Directory trees like `testdata/project/config/default` aren't listed, breaking links in the book. Workaround this by using the github URLs for the paths. There's going to be a better way, but at least the links will work.
1 parent 2796e1a commit 859c14e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/book/src/cronjob-tutorial/basic-project.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ First up, basic infrastructure for building your project:
2929
## Launch Configuration
3030

3131
We also get launch configurations under the
32-
[`config/`](testdata/project/config)
32+
[`config/`](https://github.com/kubernetes-sigs/kubebuilder/tree/master/docs/book/src/cronjob-tutorial/testdata/project/config)
3333
directory. Right now, it just contains
3434
[Kustomize](https://sigs.k8s.io/kustomize) YAML definitions required to
3535
launch our controller on a cluster, but once we get started writing our
3636
controller, it'll also hold our CustomResourceDefinitions, RBAC
3737
configuration, and WebhookConfigurations.
3838

39-
[`config/default`](testdata/project/config/default) contains a [Kustomize base](../TODO.md) for launching
39+
[`config/default`](https://github.com/kubernetes-sigs/kubebuilder/tree/master/docs/book/src/cronjob-tutorial/testdata/project/config/default) contains a [Kustomize base](https://github.com/kubernetes-sigs/kubebuilder/blob/master/docs/book/src/cronjob-tutorial/testdata/project/config/default/kustomization.yaml) for launching
4040
the controller in a standard configuration.
4141

4242
Each other directory contains a different piece of configuration,
4343
refactored out into its own base:
4444

45-
- [`config/manager`](testdata/project/config/manager): launch your controllers as pods in the
45+
- [`config/manager`](https://github.com/kubernetes-sigs/kubebuilder/tree/master/docs/book/src/cronjob-tutorial/testdata/project/config/manager): launch your controllers as pods in the
4646
cluster
4747

48-
- [`config/rbac`](testdata/project/config/rbac): permissions required to run your
48+
- [`config/rbac`](https://github.com/kubernetes-sigs/kubebuilder/tree/master/docs/book/src/cronjob-tutorial/testdata/project/config/rbac): permissions required to run your
4949
controllers under their own service account
5050

5151
## The Entrypoint

docs/book/src/cronjob-tutorial/main-revisited.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# You said something about main?
22

33
But first, remember how we said we'd [come back to `main.go`
4-
again](../TODO)? Let's take a look and see what's changed, and what we
4+
again](../TODO.md)? Let's take a look and see what's changed, and what we
55
need to add.
66

77
{{#literatego ./testdata/project/main.go}}

0 commit comments

Comments
 (0)