Skip to content

Commit 5ad2c23

Browse files
author
Jesse Seldess
authored
Merge pull request cockroachdb#3372 from cockroachdb/fix-external-links
Fix external links
2 parents 6948c60 + 4a0edab commit 5ad2c23

File tree

83 files changed

+174
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+174
-174
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ The CockroachDB Jekyll theme can auto-generate a page-level table of contents li
127127
128128
#### Auto-Included Content
129129
130-
Some pages auto-include content from the [`_includes`](_includes) directory. For example, each SQL statement page includes a syntax diagram from `_includes/sql/diagrams`, and the [build-an-app-with-cockroachdb.md](build-an-app-with-cockroachdb.md) tutorials include code samples from `_includes/app`.
130+
Some pages auto-include content from the [`_includes`](_includes) directory. For example, each SQL statement page includes a syntax diagram from `_includes/<version>/sql/diagrams`, and the [build-an-app-with-cockroachdb.md](build-an-app-with-cockroachdb.md) tutorials include code samples from `_includes/<version>/app`.
131131
132-
The syntax for including content is `{% include <filepath> %}`, for example, `{% include {{ page.version.version }}/app/basic-sample.rb %}`.
132+
The syntax for including content is `{% include {{ page.version.version }}/<filepath> %}`, for example, `{% include {{ page.version.version }}/app/basic-sample.rb %}`.
133133
134134
#### Version Tags
135135

_includes/v1.1/orchestration/start-kubernetes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Choose whether you want to orchestrate CockroachDB with Kubernetes using the hos
6464
6565
<section class="filter-content" markdown="1" data-scope="gce-manual">
6666
67-
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on Google Compute Engine](http://kubernetes.io/docs/getting-started-guides/gce/) documentation.
67+
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on Google Compute Engine](https://kubernetes.io/docs/setup/turnkey/gce/) documentation.
6868
6969
The process includes:
7070
@@ -77,6 +77,6 @@ The process includes:
7777
7878
<section class="filter-content" markdown="1" data-scope="aws-manual">
7979
80-
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on AWS EC2](http://kubernetes.io/docs/getting-started-guides/aws/) documentation.
80+
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on AWS EC2](https://kubernetes.io/docs/setup/turnkey/aws/) documentation.
8181
8282
</section>

_includes/v1.1/prod-deployment/insecure-scale-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ For each additional node you want to add to the cluster, complete the following
9090
$ chown cockroach /var/lib/cockroach
9191
~~~
9292

93-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service):
93+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
9494

9595
{% include copy-clipboard.html %}
9696
~~~ shell
97-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service
97+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service
9898
~~~
9999

100100
Alternatively, you can create the file yourself and copy the script into it:

_includes/v1.1/prod-deployment/insecure-start-nodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ For each initial node of your cluster, complete the following steps:
107107
$ chown cockroach /var/lib/cockroach
108108
~~~
109109
110-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service):
110+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
111111
112112
{% include copy-clipboard.html %}
113113
~~~ shell
114-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service
114+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service
115115
~~~
116116
117117
Alternatively, you can create the file yourself and copy the script into it:

_includes/v1.1/prod-deployment/secure-scale-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ For each additional node you want to add to the cluster, complete the following
9898
$ chown -R cockroach.cockroach /var/lib/cockroach
9999
~~~
100100

101-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service):
101+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
102102

103103
{% include copy-clipboard.html %}
104104
~~~ shell
105-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service
105+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service
106106
~~~
107107

108108
Alternatively, you can create the file yourself and copy the script into it:

_includes/v1.1/prod-deployment/secure-start-nodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ For each initial node of your cluster, complete the following steps:
115115
$ chown -R cockroach.cockroach /var/lib/cockroach
116116
~~~
117117
118-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service):
118+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
119119
120120
{% include copy-clipboard.html %}
121121
~~~ shell
122-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service
122+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service
123123
~~~
124124
125125
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.0/orchestration/start-kubernetes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Choose whether you want to orchestrate CockroachDB with Kubernetes using the hos
6464
6565
<section class="filter-content" markdown="1" data-scope="gce-manual">
6666
67-
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on Google Compute Engine](http://kubernetes.io/docs/getting-started-guides/gce/) documentation.
67+
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on Google Compute Engine](https://kubernetes.io/docs/setup/turnkey/gce/) documentation.
6868
6969
The process includes:
7070
@@ -77,6 +77,6 @@ The process includes:
7777
7878
<section class="filter-content" markdown="1" data-scope="aws-manual">
7979
80-
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on AWS EC2](http://kubernetes.io/docs/getting-started-guides/aws/) documentation.
80+
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on AWS EC2](https://kubernetes.io/docs/setup/turnkey/aws/) documentation.
8181
8282
</section>

_includes/v2.0/prod-deployment/insecure-scale-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ For each additional node you want to add to the cluster, complete the following
9090
$ chown cockroach /var/lib/cockroach
9191
~~~
9292

93-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service):
93+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
9494

9595
{% include copy-clipboard.html %}
9696
~~~ shell
97-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service
97+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service
9898
~~~
9999

100100
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.0/prod-deployment/insecure-start-nodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ For each initial node of your cluster, complete the following steps:
107107
$ chown cockroach /var/lib/cockroach
108108
~~~
109109
110-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service):
110+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
111111
112112
{% include copy-clipboard.html %}
113113
~~~ shell
114-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service
114+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service
115115
~~~
116116
117117
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.0/prod-deployment/secure-scale-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ For each additional node you want to add to the cluster, complete the following
9898
$ chown -R cockroach.cockroach /var/lib/cockroach
9999
~~~
100100

101-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service):
101+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
102102

103103
{% include copy-clipboard.html %}
104104
~~~ shell
105-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service
105+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service
106106
~~~
107107

108108
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.0/prod-deployment/secure-start-nodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ For each initial node of your cluster, complete the following steps:
115115
$ chown -R cockroach.cockroach /var/lib/cockroach
116116
~~~
117117
118-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service):
118+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
119119
120120
{% include copy-clipboard.html %}
121121
~~~ shell
122-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service
122+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service
123123
~~~
124124
125125
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.1/orchestration/start-kubernetes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Choose whether you want to orchestrate CockroachDB with Kubernetes using the hos
6464
6565
<section class="filter-content" markdown="1" data-scope="gce-manual">
6666
67-
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on Google Compute Engine](http://kubernetes.io/docs/getting-started-guides/gce/) documentation.
67+
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on Google Compute Engine](https://kubernetes.io/docs/setup/turnkey/gce/) documentation.
6868
6969
The process includes:
7070
@@ -77,6 +77,6 @@ The process includes:
7777
7878
<section class="filter-content" markdown="1" data-scope="aws-manual">
7979
80-
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on AWS EC2](http://kubernetes.io/docs/getting-started-guides/aws/) documentation.
80+
From your local workstation, install prerequisites and start a Kubernetes cluster as described in the [Running Kubernetes on AWS EC2](https://kubernetes.io/docs/setup/turnkey/aws/) documentation.
8181
8282
</section>

_includes/v2.1/prod-deployment/insecure-scale-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ For each additional node you want to add to the cluster, complete the following
9090
$ chown cockroach /var/lib/cockroach
9191
~~~
9292

93-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service):
93+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
9494

9595
{% include copy-clipboard.html %}
9696
~~~ shell
97-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service
97+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service
9898
~~~
9999

100100
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.1/prod-deployment/insecure-start-nodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ For each initial node of your cluster, complete the following steps:
107107
$ chown cockroach /var/lib/cockroach
108108
~~~
109109
110-
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service):
110+
7. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service):
111111
112112
{% include copy-clipboard.html %}
113113
~~~ shell
114-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/insecurecockroachdb.service
114+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/insecurecockroachdb.service
115115
~~~
116116
117117
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.1/prod-deployment/secure-scale-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ For each additional node you want to add to the cluster, complete the following
9898
$ chown -R cockroach.cockroach /var/lib/cockroach
9999
~~~
100100

101-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service):
101+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
102102

103103
{% include copy-clipboard.html %}
104104
~~~ shell
105-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service
105+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service
106106
~~~
107107

108108
Alternatively, you can create the file yourself and copy the script into it:

_includes/v2.1/prod-deployment/secure-start-nodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ For each initial node of your cluster, complete the following steps:
115115
$ chown -R cockroach.cockroach /var/lib/cockroach
116116
~~~
117117
118-
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service):
118+
8. Download the [sample configuration template](https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service):
119119
120120
{% include copy-clipboard.html %}
121121
~~~ shell
122-
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/prod_deployment/securecockroachdb.service
122+
$ wget -qO- https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/prod-deployment/securecockroachdb.service
123123
~~~
124124
125125
Alternatively, you can create the file yourself and copy the script into it:

v1.0/build-a-c++-app-with-cockroachdb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Now that you have a database and a user, you'll run code to create a table and i
2727

2828
First, use the following code to connect as the `maxroach` user and execute some basic SQL statements, creating a table, inserting rows, and reading and printing the rows.
2929

30-
Download the <a href="https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/app/basic-sample.cpp" download><code>basic-sample.cpp</code></a> file, or create the file yourself and copy the code into it.
30+
Download the <a href="https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/app/basic-sample.cpp" download><code>basic-sample.cpp</code></a> file, or create the file yourself and copy the code into it.
3131

3232
{% include copy-clipboard.html %}
3333
~~~ cpp
@@ -40,7 +40,7 @@ Next, use the following code to again connect as the `maxroach` user but this ti
4040
4141
{{site.data.alerts.callout_info}}With the default <code>SERIALIZABLE</code> isolation level, CockroachDB may require the <a href="transactions.html#transaction-retries">client to retry a transaction</a> in case of read/write contention. CockroachDB provides a generic <strong>retry function</strong> that runs inside a transaction and retries it as needed. You can copy and paste the retry function from here into your code.{{site.data.alerts.end}}
4242
43-
Download the <a href="https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/app/txn-sample.cpp" download><code>txn-sample.cpp</code></a> file, or create the file yourself and copy the code into it.
43+
Download the <a href="https://raw.githubusercontent.com/cockroachdb/docs/master/_includes/{{ page.version.version }}/app/txn-sample.cpp" download><code>txn-sample.cpp</code></a> file, or create the file yourself and copy the code into it.
4444
4545
{% include copy-clipboard.html %}
4646
~~~ cpp

0 commit comments

Comments
 (0)