Skip to content

Commit 351af32

Browse files
author
Peter Matulis
authored
Merge pull request juju#3327 from pmatulis/rename-remainder-help-pages
Rename remaining help-* pages to clouds-* and other improvements
2 parents 822363b + e96b814 commit 351af32

22 files changed

+98
-73
lines changed

redirects.map

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,24 @@
2626

2727
# Redirect help-aws to clouds-aws
2828
"~^/(?<version>[0-9-\._]+|devel)/en/help-aws/?$" /${version}/en/clouds-aws;
29+
30+
# Redirect help-joyent to clouds-joyent
31+
"~^/(?<version>[0-9-\._]+|devel)/en/help-joyent/?$" /${version}/en/clouds-joyent;
32+
33+
# Redirect help-rackspace to clouds-rackspace
34+
"~^/(?<version>[0-9-\._]+|devel)/en/help-rackspace/?$" /${version}/en/clouds-rackspace;
35+
36+
# Redirect help-vmware to clouds-vsphere
37+
"~^/(?<version>[0-9-\._]+|devel)/en/help-vmware/?$" /${version}/en/clouds-vsphere;
38+
39+
# Redirect help-openstack to clouds-openstack
40+
"~^/(?<version>[0-9-\._]+|devel)/en/help-openstack/?$" /${version}/en/clouds-openstack;
41+
42+
# Redirect help-azure to clouds-azure
43+
"~^/(?<version>[0-9-\._]+|devel)/en/help-azure/?$" /${version}/en/clouds-azure;
44+
45+
# Redirect help-azure-advanced to clouds-azure-advanced
46+
"~^/(?<version>[0-9-\._]+|devel)/en/help-azure-advanced/?$" /${version}/en/clouds-azure-advanced;
47+
48+
# Redirect clouds-LXD to clouds-lxd
49+
"~^/(?<version>[0-9-\._]+|devel)/en/clouds-LXD/?$" /${version}/en/clouds-lxd;

src/en/charms-fan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ default, when creating regular EC2 instances.
155155

156156
Whether you created a secondary VPC out of necessity or preference you will
157157
need to inform Juju about it. See
158-
[AWS specific features][anchor__aws-specific-features] for how to do this.
158+
[AWS specific features][#aws-specific-features] for how to do this.
159159

160160
Here, Fan networking will be leveraged by deploying and relating applications
161161
that are running in different LXD containers, where the containers are housed
@@ -204,4 +204,4 @@ Connection to 252.0.169.174 80 port [tcp/http] succeeded!
204204
[fan-fanctl-man-page]: http://manpages.ubuntu.com/cgi-bin/search.py?q=fanctl
205205
[fan-aws-vpc]: ./charms-fan-aws-vpc.html
206206
[models-config]: ./models-config.html
207-
[anchor__aws-specific-features]: ./help-aws.html#aws-specific-features
207+
[#aws-specific-features]: ./clouds-aws.html#aws-specific-features

src/en/charms-ha.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ not all units in the set will become unavailable at the same time.
8787

8888
<!-- LINKS -->
8989

90-
[controller-ha]: ./controllers-ha.html
90+
[controller-ha]: ./controllers-ha.md
9191
[maaszones]: https://docs.ubuntu.com/maas/en/manage-zones
92-
[jujuclouds]: ./clouds.html
92+
[jujuclouds]: ./clouds.md
9393
[azure-sla]: https://azure.microsoft.com/en-gb/support/legal/sla/
94-
[clouds-azure]: ./help-azure.html
94+
[clouds-azure]: ./clouds-azure.md

src/en/charms-storage.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ tmpfs tmpfs
141141
The name given to a default storage pool will often be the same as the
142142
name of the storage provider upon which it is based.
143143

144-
Depending on the storage provider (see [below][anchor__storage-providers]),
144+
Depending on the storage provider (see [below][#storage-providers]),
145145
custom storage pools can be created. In the case of AWS, the 'ebs' storage
146146
provider supports several configuration attributes:
147147

@@ -316,7 +316,7 @@ dependent upon cloud type. Above, it is given by the backing LXD pool and the
316316
volume name (obtained with `lxc storage volume list <lxd-pool>`), all separated
317317
by a `:`. A provider ID from another cloud may look entirely different. The LXD
318318
storage provider and associated LXD pools are described in detail
319-
[below][anchor__storage-providers-lxd].
319+
[below][#storage-providers-lxd].
320320

321321
### Cross-model storage
322322

@@ -343,7 +343,7 @@ juju upgrade-charm postgresql --storage pgdata=10G
343343

344344
If such a constraint was not provided, 'rootfs' would be used (as described in
345345
the section on deploying with
346-
[storage constraints][anchor__storage-constraints-juju-deploy]).
346+
[storage constraints][#storage-constraints-juju-deploy]).
347347

348348
!!! Warning:
349349
Specifying new constraints may be necessary when upgrading to a revision of
@@ -372,7 +372,7 @@ to all types of models:
372372
a mounted file system but is stored in volatile memory.
373373

374374
Loop devices require extra configuration to be used within LXD. For that,
375-
please refer to [Loop devices and LXD][anchor__loop-devices-and-lxd] (below).
375+
please refer to [Loop devices and LXD][#loop-devices-and-lxd] (below).
376376

377377
### AWS/EBS (ebs)
378378

@@ -642,24 +642,24 @@ For guidance on how to create a charm that uses these storage features see
642642
[commands-remove-storage]: ./commands.html#remove-storage
643643
[commands-upgrade-charm]: ./commands.html#upgrade-charm
644644

645-
[clouds-lxd]: ./clouds-LXD.md
646-
[charms-storage-ceph]: ./charms-storage-ceph.html
645+
[clouds-lxd]: ./clouds-lxd.md
646+
[charms-storage-ceph]: ./charms-storage-ceph.md
647647
[charms-storage-k8]: ./charms-storage-k8s.md
648648
[generic-storage-loop]: https://en.wikipedia.org/wiki/Loop_device
649649
[generic-storage-rootfs]: https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
650650
[generic-storage-tmpfs]: https://en.wikipedia.org/wiki/Tmpfs
651651
[charm-store-postgresql]: https://jujucharms.com/postgresql
652652
[charm-store-ceph-osd]: https://jujucharms.com/ceph-osd
653653
[ceph-charm]: https://jujucharms.com/ceph-osd
654-
[developer-storage]: ./developer-storage.html
654+
[developer-storage]: ./developer-storage.md
655655
[aws-iops-ssd-volumes]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops
656656
[aws-ebs-volume-types]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
657657
[wikipedia-iops]: https://en.wikipedia.org/wiki/IOPS
658658
[ppa-lxd]: https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxd-stable
659659
[upstream-lxd-storage-configuration]: https://github.com/lxc/lxd/blob/master/doc/storage.md
660660
[microsoft-managed-disks]: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/managed-disks-overview
661661

662-
[anchor__loop-devices-and-lxd]: #loop-devices-and-lxd
663-
[anchor__storage-constraints-juju-deploy]: #juju-deploy
664-
[anchor__storage-providers]: #storage-providers
665-
[anchor__storage-providers-lxd]: #lxd-(lxd)
662+
[#loop-devices-and-lxd]: #loop-devices-and-lxd
663+
[#storage-constraints-juju-deploy]: #juju-deploy
664+
[#storage-providers]: #storage-providers
665+
[#storage-providers-lxd]: #lxd-(lxd)

src/en/help-azure-advanced.md renamed to src/en/clouds-azure-advanced.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ controller-creation step.
172172

173173
<!-- LINKS -->
174174

175-
[clouds-azure]: ./help-azure.html
176-
[clouds-azure-controller]: ./help-azure.html#create-the-juju-controller
177-
[clouds-azure-cli-install]: ./help-azure.html#install-the-cli-tool
178-
[clouds-azure-cli-login]: ./help-azure.html#log-in-to-azure
175+
[clouds-azure]: ./clouds-azure.md
176+
[clouds-azure-controller]: ./clouds-azure.md#create-the-juju-controller
177+
[clouds-azure-cli-install]: ./clouds-azure.md#install-the-cli-tool
178+
[clouds-azure-cli-login]: ./clouds-azure.md#log-in-to-azure
179179
[azurecli-rbac]: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-assignments-cli
180180
[azurecli-az-ad-sp]: https://docs.microsoft.com/en-us/cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-create-for-rbac

src/en/help-azure.md renamed to src/en/clouds-azure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ juju update-clouds
2424

2525
## Adding credentials
2626

27-
The [Cloud credentials][credentials] page offers a full treatment of credential
27+
The [Credentials][credentials] page offers a full treatment of credential
2828
management.
2929

3030
Several steps are required to add Azure credentials to Juju:
@@ -201,7 +201,7 @@ See these pages for ideas on what to do next:
201201
[azureportal]: http://portal.azure.com
202202
[azurecli]: https://docs.microsoft.com/en-us/cli/azure/overview
203203
[azuretwoinstall]: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
204-
[manually-adding-azure-credentials]: ./help-azure-advanced.md#manually-adding-azure-credentials
204+
[manually-adding-azure-credentials]: ./clouds-azure-advanced.md#manually-adding-azure-credentials
205205
[azure-availability-sets]: ./charms-ha.md#azure-availability-sets
206206
[controllers-creating]: ./controllers-creating.md
207207
[models]: ./models.md

src/en/help-joyent.md renamed to src/en/clouds-joyent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ juju update-clouds
2727

2828
## Adding credentials
2929

30-
The [Cloud credentials][credentials] page offers a full treatment of credential
30+
The [Credentials][credentials] page offers a full treatment of credential
3131
management.
3232

3333
In order to authenticate itself to the Joyent cloud, Juju will need the

src/en/clouds-lxd-advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,12 @@ See the LXD documentation to learn about the valid
270270
<!-- LINKS -->
271271

272272
[yaml]: http://www.yaml.org/spec/1.2/spec.html
273-
[clouds-lxd]: ./clouds-LXD.md
273+
[clouds-lxd]: ./clouds-lxd.md
274274
[#clouds-lxd-remote-add-manual]: #manually-adding-a-remote-lxd-cloud
275275
[controllers-creating]: ./controllers-creating.md
276276
[clouds-adding-manually]: ./clouds.md#adding-clouds-manually
277277
[credentials]: ./credentials.md
278-
[clouds-lxd-creating-a-controller]: ./clouds-LXD.md#creating-a-controller
278+
[clouds-lxd-creating-a-controller]: ./clouds-lxd.md#creating-a-controller
279279
[lxd-upstream-clustering]: https://lxd.readthedocs.io/en/latest/clustering/
280280
[lxd-upstream-profile-options]: https://lxd.readthedocs.io/en/latest/containers/
281281
[deploying-to-specific-machines]: ./charms-deploying-advanced.md#deploying-to-specific-machines

src/en/clouds-lxd-resources.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ on that user's system, the credential can be added:
7777
juju add-credential localhost -f localhost-credentials.yaml
7878
```
7979

80-
See [Cloud credentials][credentials] for more details on how credentials are
81-
used.
80+
See [Credentials][credentials] for more details on how credentials are used.
8281

8382
## Useful LXD client commands
8483

@@ -168,7 +167,7 @@ assistance with the daemon. See upstream documentation for
168167

169168
<!-- LINKS -->
170169

171-
[clouds-lxd]: ./clouds-LXD.md
170+
[clouds-lxd]: ./clouds-lxd.md
172171
[lxd-upstream]: https://lxd.readthedocs.io/en/latest/configuration/
173172
[logs]: ./troubleshooting-logs.md
174173
[credentials]: ./credentials.md
File renamed without changes.

0 commit comments

Comments
 (0)