From 5855e72fbe3537ae48c7ee725d69a8b3d09489eb Mon Sep 17 00:00:00 2001 From: Richie Escarez Date: Tue, 12 Mar 2019 17:45:33 -0700 Subject: [PATCH] add type:docs + enable relative links --- _index.md | 8 ++++++++ community/samples/_index.md | 2 +- contributing/_index.md | 2 +- docs/_index.md | 6 ++---- docs/build/_index.md | 3 ++- docs/eventing/_index.md | 2 +- docs/eventing/channels/_index.md | 2 +- docs/eventing/debugging/_index.md | 2 +- docs/eventing/samples/cronjob-source/_index.md | 2 +- docs/eventing/samples/gcp-pubsub-source/_index.md | 2 +- docs/eventing/samples/github-source/_index.md | 2 +- docs/eventing/samples/iot-core/_index.md | 2 +- docs/eventing/samples/kubernetes-event-source/_index.md | 2 +- docs/eventing/samples/writing-a-source/_index.md | 2 +- docs/eventing/sources/_index.md | 2 +- docs/install/_index.md | 3 ++- docs/reference/build-api.md | 2 +- docs/reference/eventing/_index.md | 2 +- docs/reference/eventing/eventing-sources-api.md | 2 +- docs/reference/serving-api.md | 2 +- docs/serving/_index.md | 3 ++- docs/serving/fluentd/_index.md | 3 ++- docs/serving/samples/_index.md | 3 ++- docs/serving/samples/autoscale-go/_index.md | 3 ++- docs/serving/samples/build-private-repo-go/_index.md | 3 ++- docs/serving/samples/buildpack-app-dotnet/_index.md | 3 ++- docs/serving/samples/buildpack-function-nodejs/_index.md | 3 ++- docs/serving/samples/gitwebhook-go/_index.md | 3 ++- docs/serving/samples/grpc-ping-go/_index.md | 3 ++- .../samples/hello-world/helloworld-csharp/_index.md | 3 ++- docs/serving/samples/hello-world/helloworld-go/_index.md | 3 ++- .../serving/samples/hello-world/helloworld-java/_index.md | 3 ++- .../samples/hello-world/helloworld-kotlin/_index.md | 3 ++- .../samples/hello-world/helloworld-nodejs/_index.md | 3 ++- docs/serving/samples/hello-world/helloworld-php/_index.md | 3 ++- .../samples/hello-world/helloworld-python/_index.md | 3 ++- .../serving/samples/hello-world/helloworld-ruby/_index.md | 3 ++- .../samples/hello-world/helloworld-scala/_index.md | 3 ++- docs/serving/samples/knative-routing-go/_index.md | 3 ++- docs/serving/samples/rest-api-go/_index.md | 3 ++- docs/serving/samples/source-to-url-go/_index.md | 6 +++--- docs/serving/samples/telemetry-go/_index.md | 3 ++- docs/serving/samples/thumbnailer-go/_index.md | 3 ++- docs/serving/samples/traffic-splitting/_index.md | 3 ++- 44 files changed, 79 insertions(+), 48 deletions(-) create mode 100644 _index.md diff --git a/_index.md b/_index.md new file mode 100644 index 0000000000..e064d6e6e1 --- /dev/null +++ b/_index.md @@ -0,0 +1,8 @@ +--- +title: "Knative Documentation Version 0.3" +linkTitle: "Documentation" +weight: 10 +type: "docs" +--- + +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/community/samples/_index.md b/community/samples/_index.md index 32fba17115..bc10fa25f2 100644 --- a/community/samples/_index.md +++ b/community/samples/_index.md @@ -10,4 +10,4 @@ contributed and maintained sample apps. Use the following table to view the instructions and sample code in the knative/docs repo. -{{% readfile file="community/samples/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/contributing/_index.md b/contributing/_index.md index 22529b0215..108407ed2b 100644 --- a/contributing/_index.md +++ b/contributing/_index.md @@ -15,4 +15,4 @@ Learn how to join the community of Knative contributors. Also see our [Community page](community) for links to Knative chats, discussions, or Q&A. -{{% readfile file="contributing/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/_index.md b/docs/_index.md index 2ea45248dc..6645115439 100755 --- a/docs/_index.md +++ b/docs/_index.md @@ -2,9 +2,7 @@ title: "Welcome to Knative" linkTitle: "Documentation" weight: 10 -menu: - main: - weight: 20 +type: "docs" --- -{{% readfile file="docs/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/build/_index.md b/docs/build/_index.md index ded1dfe61f..1a4b900b49 100644 --- a/docs/build/_index.md +++ b/docs/build/_index.md @@ -2,6 +2,7 @@ title: "Knative Build" linkTitle: "Build Component" weight: 20 +type: "docs" --- -{{% readfile file="docs/build/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/_index.md b/docs/eventing/_index.md index a1f47b4ddf..dd4871dde6 100644 --- a/docs/eventing/_index.md +++ b/docs/eventing/_index.md @@ -5,4 +5,4 @@ weight: 60 type: "docs" --- -{{% readfile file="docs/eventing/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/channels/_index.md b/docs/eventing/channels/_index.md index 9698836112..bddd22c96e 100644 --- a/docs/eventing/channels/_index.md +++ b/docs/eventing/channels/_index.md @@ -5,4 +5,4 @@ weight: 40 type: "docs" --- -{{% readfile file="docs/eventing/channels/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/debugging/_index.md b/docs/eventing/debugging/_index.md index 27976d49a2..1469b70a43 100644 --- a/docs/eventing/debugging/_index.md +++ b/docs/eventing/debugging/_index.md @@ -5,4 +5,4 @@ weight: 80 type: "docs" --- -{{% readfile file="docs/eventing/debugging/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/samples/cronjob-source/_index.md b/docs/eventing/samples/cronjob-source/_index.md index 38b7cec125..6096554852 100644 --- a/docs/eventing/samples/cronjob-source/_index.md +++ b/docs/eventing/samples/cronjob-source/_index.md @@ -5,4 +5,4 @@ weight: 10 type: "docs" --- -{{% readfile file="docs/eventing/samples/cronjob-source/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/samples/gcp-pubsub-source/_index.md b/docs/eventing/samples/gcp-pubsub-source/_index.md index 92e2a968e6..03a199da7e 100644 --- a/docs/eventing/samples/gcp-pubsub-source/_index.md +++ b/docs/eventing/samples/gcp-pubsub-source/_index.md @@ -5,4 +5,4 @@ weight: 20 type: "docs" --- -{{% readfile file="docs/eventing/samples/gcp-pubsub-source/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/samples/github-source/_index.md b/docs/eventing/samples/github-source/_index.md index 2954e3b27a..69b844b80b 100644 --- a/docs/eventing/samples/github-source/_index.md +++ b/docs/eventing/samples/github-source/_index.md @@ -5,4 +5,4 @@ weight: 30 type: "docs" --- -{{% readfile file="docs/eventing/samples/github-source/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/samples/iot-core/_index.md b/docs/eventing/samples/iot-core/_index.md index 292df0948d..4be7c6c77b 100644 --- a/docs/eventing/samples/iot-core/_index.md +++ b/docs/eventing/samples/iot-core/_index.md @@ -5,4 +5,4 @@ weight: 40 type: "docs" --- -{{% readfile file="docs/eventing/samples/iot-core/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/samples/kubernetes-event-source/_index.md b/docs/eventing/samples/kubernetes-event-source/_index.md index e89204d4e4..9ce2db8234 100644 --- a/docs/eventing/samples/kubernetes-event-source/_index.md +++ b/docs/eventing/samples/kubernetes-event-source/_index.md @@ -5,4 +5,4 @@ weight: 50 type: "docs" --- -{{% readfile file="docs/eventing/samples/kubernetes-event-source/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/samples/writing-a-source/_index.md b/docs/eventing/samples/writing-a-source/_index.md index 6882ca6e67..4ffcf355e3 100644 --- a/docs/eventing/samples/writing-a-source/_index.md +++ b/docs/eventing/samples/writing-a-source/_index.md @@ -5,4 +5,4 @@ weight: 60 type: "docs" --- -{{% readfile file="docs/eventing/samples/writing-a-source/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/eventing/sources/_index.md b/docs/eventing/sources/_index.md index 91f6ec0f71..d93a8691c8 100644 --- a/docs/eventing/sources/_index.md +++ b/docs/eventing/sources/_index.md @@ -5,4 +5,4 @@ weight: 20 type: "docs" --- -{{% readfile file="docs/eventing/sources/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/install/_index.md b/docs/install/_index.md index 251f394817..109f1bca70 100644 --- a/docs/install/_index.md +++ b/docs/install/_index.md @@ -2,6 +2,7 @@ title: "Installing Knative" #linkTitle: "Installing" weight: 20 +type: "docs" --- -{{% readfile file="docs/install/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/reference/build-api.md b/docs/reference/build-api.md index 08cdd6d29e..ef6b885682 100644 --- a/docs/reference/build-api.md +++ b/docs/reference/build-api.md @@ -5,4 +5,4 @@ weight: 20 type: "docs" --- -{{% readfile file="docs/reference/build.md" %}} +{{% readfile file="build.md" relative="true" %}} diff --git a/docs/reference/eventing/_index.md b/docs/reference/eventing/_index.md index f6969afa77..d16732c1c5 100644 --- a/docs/reference/eventing/_index.md +++ b/docs/reference/eventing/_index.md @@ -5,4 +5,4 @@ weight: 30 type: "docs" --- -{{% readfile file="docs/reference/eventing/eventing.md" %}} +{{% readfile file="eventing.md" relative="true" %}} diff --git a/docs/reference/eventing/eventing-sources-api.md b/docs/reference/eventing/eventing-sources-api.md index ac7f96a913..56a3c94c35 100644 --- a/docs/reference/eventing/eventing-sources-api.md +++ b/docs/reference/eventing/eventing-sources-api.md @@ -5,4 +5,4 @@ weight: 50 type: "docs" --- -{{% readfile file="docs/reference/eventing/eventing-sources.md" %}} +{{% readfile file="eventing-sources.md" relative="true" %}} diff --git a/docs/reference/serving-api.md b/docs/reference/serving-api.md index b1685142df..3e370cfa71 100644 --- a/docs/reference/serving-api.md +++ b/docs/reference/serving-api.md @@ -5,4 +5,4 @@ weight: 50 type: "docs" --- -{{% readfile file="docs/reference/serving.md" %}} +{{% readfile file="serving.md" relative="true" %}} diff --git a/docs/serving/_index.md b/docs/serving/_index.md index 39142a9fbf..b63deb17e7 100644 --- a/docs/serving/_index.md +++ b/docs/serving/_index.md @@ -2,6 +2,7 @@ title: "Knative Serving" linkTitle: "Serving Component" weight: 20 +type: "docs" --- -{{% readfile file="docs/serving/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/fluentd/_index.md b/docs/serving/fluentd/_index.md index 5ddbf6c6b2..7e7b6eeb09 100644 --- a/docs/serving/fluentd/_index.md +++ b/docs/serving/fluentd/_index.md @@ -2,8 +2,9 @@ title: "Fluentd container image requirements" linkTitle: "Fluentd requirements" weight: 10 +type: "docs" --- -{{% readfile file="docs/serving/fluentd/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/_index.md b/docs/serving/samples/_index.md index 7d22c004e9..312b87b4f6 100644 --- a/docs/serving/samples/_index.md +++ b/docs/serving/samples/_index.md @@ -2,6 +2,7 @@ title: "Knative Serving Sample Applications" linkTitle: "Sample Apps" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/autoscale-go/_index.md b/docs/serving/samples/autoscale-go/_index.md index 7cf4086f3b..543bde9424 100644 --- a/docs/serving/samples/autoscale-go/_index.md +++ b/docs/serving/samples/autoscale-go/_index.md @@ -2,6 +2,7 @@ title: "Autoscale Sample App - Go" linkTitle: "Autoscaling - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/autoscale-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/build-private-repo-go/_index.md b/docs/serving/samples/build-private-repo-go/_index.md index b8aa84ef8e..28c7c34a58 100644 --- a/docs/serving/samples/build-private-repo-go/_index.md +++ b/docs/serving/samples/build-private-repo-go/_index.md @@ -2,6 +2,7 @@ title: "Deploying to Knative from a Private GitHub Repo - Go" linkTitle: "Private GitHub repo - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/build-private-repo-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/buildpack-app-dotnet/_index.md b/docs/serving/samples/buildpack-app-dotnet/_index.md index 7d2ffe9226..8a1cb3c3ee 100644 --- a/docs/serving/samples/buildpack-app-dotnet/_index.md +++ b/docs/serving/samples/buildpack-app-dotnet/_index.md @@ -2,6 +2,7 @@ title: "Buildpack Sample App - .NET" linkTitle: "Buildpack app - .NET" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/buildpack-app-dotnet/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/buildpack-function-nodejs/_index.md b/docs/serving/samples/buildpack-function-nodejs/_index.md index 95186e2a07..3739587bea 100644 --- a/docs/serving/samples/buildpack-function-nodejs/_index.md +++ b/docs/serving/samples/buildpack-function-nodejs/_index.md @@ -2,6 +2,7 @@ title: "Buildpack Sample Function - Node.js" linkTitle: "Buildpack function - Node.js" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/buildpack-function-nodejs/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/gitwebhook-go/_index.md b/docs/serving/samples/gitwebhook-go/_index.md index 819d705e17..e44cfcc1dc 100644 --- a/docs/serving/samples/gitwebhook-go/_index.md +++ b/docs/serving/samples/gitwebhook-go/_index.md @@ -2,6 +2,7 @@ title: "GitHub webhook sample - Go" linkTitle: "GitHub Webhook - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/gitwebhook-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/grpc-ping-go/_index.md b/docs/serving/samples/grpc-ping-go/_index.md index 9974b76942..755b74e68b 100644 --- a/docs/serving/samples/grpc-ping-go/_index.md +++ b/docs/serving/samples/grpc-ping-go/_index.md @@ -2,6 +2,7 @@ title: "gRPC server - Go" #linkTitle: "" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/grpc-ping-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-csharp/_index.md b/docs/serving/samples/hello-world/helloworld-csharp/_index.md index b8ad83e705..f98d546727 100644 --- a/docs/serving/samples/hello-world/helloworld-csharp/_index.md +++ b/docs/serving/samples/hello-world/helloworld-csharp/_index.md @@ -2,6 +2,7 @@ title: "Hello world - .NET Core" linkTitle: ".NET" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-csharp/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-go/_index.md b/docs/serving/samples/hello-world/helloworld-go/_index.md index 49cf27bf7c..7251874db0 100644 --- a/docs/serving/samples/hello-world/helloworld-go/_index.md +++ b/docs/serving/samples/hello-world/helloworld-go/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Go" linkTitle: "Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-java/_index.md b/docs/serving/samples/hello-world/helloworld-java/_index.md index 6226f6dcdd..b718207b96 100644 --- a/docs/serving/samples/hello-world/helloworld-java/_index.md +++ b/docs/serving/samples/hello-world/helloworld-java/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Spring Boot Java" linkTitle: "Java" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-java/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-kotlin/_index.md b/docs/serving/samples/hello-world/helloworld-kotlin/_index.md index af8d56e731..b0bc90d7f4 100644 --- a/docs/serving/samples/hello-world/helloworld-kotlin/_index.md +++ b/docs/serving/samples/hello-world/helloworld-kotlin/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Kotlin" linkTitle: "Kotlin" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-kotlin/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-nodejs/_index.md b/docs/serving/samples/hello-world/helloworld-nodejs/_index.md index 16ac4a9cc4..366f22a97e 100644 --- a/docs/serving/samples/hello-world/helloworld-nodejs/_index.md +++ b/docs/serving/samples/hello-world/helloworld-nodejs/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Node.js" linkTitle: "Node.js" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-nodejs/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-php/_index.md b/docs/serving/samples/hello-world/helloworld-php/_index.md index 1f21fb22c2..4d10a39387 100644 --- a/docs/serving/samples/hello-world/helloworld-php/_index.md +++ b/docs/serving/samples/hello-world/helloworld-php/_index.md @@ -2,6 +2,7 @@ title: "Hello World - PHP" linkTitle: "PHP" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-php/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-python/_index.md b/docs/serving/samples/hello-world/helloworld-python/_index.md index f602ee4f7e..ca652936e7 100644 --- a/docs/serving/samples/hello-world/helloworld-python/_index.md +++ b/docs/serving/samples/hello-world/helloworld-python/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Python" linkTitle: "Python" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-python/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-ruby/_index.md b/docs/serving/samples/hello-world/helloworld-ruby/_index.md index 39fa876d2d..8ba065d533 100644 --- a/docs/serving/samples/hello-world/helloworld-ruby/_index.md +++ b/docs/serving/samples/hello-world/helloworld-ruby/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Ruby" linkTitle: "Ruby" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-ruby/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/hello-world/helloworld-scala/_index.md b/docs/serving/samples/hello-world/helloworld-scala/_index.md index f366117d48..3e20ac1faa 100644 --- a/docs/serving/samples/hello-world/helloworld-scala/_index.md +++ b/docs/serving/samples/hello-world/helloworld-scala/_index.md @@ -2,6 +2,7 @@ title: "Hello World - Scala using Akka HTTP" linkTitle: "Scala" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/hello-world/helloworld-scala/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/knative-routing-go/_index.md b/docs/serving/samples/knative-routing-go/_index.md index 088fc3cb14..1d208f21dd 100644 --- a/docs/serving/samples/knative-routing-go/_index.md +++ b/docs/serving/samples/knative-routing-go/_index.md @@ -2,6 +2,7 @@ title: "Routing across multiple Knative services - Go" linkTitle: "Routing services - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/knative-routing-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/rest-api-go/_index.md b/docs/serving/samples/rest-api-go/_index.md index ac8c2ddb7d..07aeddb92d 100644 --- a/docs/serving/samples/rest-api-go/_index.md +++ b/docs/serving/samples/rest-api-go/_index.md @@ -2,6 +2,7 @@ title: "Creating a RESTful Service - Go" linkTitle: "RESTful service - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/rest-api-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/source-to-url-go/_index.md b/docs/serving/samples/source-to-url-go/_index.md index b5e08266cf..0fa6e04e0a 100644 --- a/docs/serving/samples/source-to-url-go/_index.md +++ b/docs/serving/samples/source-to-url-go/_index.md @@ -1,8 +1,8 @@ --- -title: "Orchestrating a source-to-URL deployment on Kubernetes - - Go" +title: "Orchestrating a source-to-URL deployment on Kubernetes - Go" linkTitle: "Build and deploy - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/source-to-url-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/telemetry-go/_index.md b/docs/serving/samples/telemetry-go/_index.md index 2a432194d0..824f7d607f 100644 --- a/docs/serving/samples/telemetry-go/_index.md +++ b/docs/serving/samples/telemetry-go/_index.md @@ -2,6 +2,7 @@ title: "Observability: Monitoring, logging, and tracing sample - Go" linkTitle: "Observability - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/telemetry-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/thumbnailer-go/_index.md b/docs/serving/samples/thumbnailer-go/_index.md index dbb0293bb9..241c1d0c82 100644 --- a/docs/serving/samples/thumbnailer-go/_index.md +++ b/docs/serving/samples/thumbnailer-go/_index.md @@ -2,6 +2,7 @@ title: "Thumbnailer External Dependencies Demo - Go" linkTitle: "Deploy, build, and serve - Go" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/thumbnailer-go/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}} diff --git a/docs/serving/samples/traffic-splitting/_index.md b/docs/serving/samples/traffic-splitting/_index.md index fae7a98ce2..f0c2fdec39 100644 --- a/docs/serving/samples/traffic-splitting/_index.md +++ b/docs/serving/samples/traffic-splitting/_index.md @@ -2,6 +2,7 @@ title: "Simple Traffic Splitting Between Revisions" linkTitle: "Traffic splitting" weight: 1 +type: "docs" --- -{{% readfile file="docs/serving/samples/traffic-splitting/README.md" markdown="true" %}} +{{% readfile file="README.md" relative="true" markdown="true" %}}