Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Apr 16, 2024
1 parent 39469ca commit 10a6889
Showing 1 changed file with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ This section provides information about creating new content from Hugo archetype
## Create a New Azure Resource Provider Namespace

1. Ensure you are in the root directory of the repository within your terminal.
1. Run the following hugo command within your terminal.
2. Run the following hugo command within your terminal.

```bash
hugo new --kind azure-provider-namespace 'azure-resources/Storage'
```
```bash
hugo new --kind azure-provider-namespace 'azure-resources/Storage'
```

{{< hint type=important >}}
{{< hint type=important >}}

Replace `Storage` with the name of the Azure provider namespace you want to create. Ensure that the name aligns to the available resource providers found in the documentation [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources).
Replace `Storage` with the name of the Azure provider namespace you want to create. Ensure that the name aligns to the available resource providers found in the documentation [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources).

Also, ensure that it is formatted with no spaces and is using pascal case. For example, `MachineLearningServices` or `VirtualMachineImages`.
Also, ensure that it is formatted with no spaces and is using pascal case. For example, `MachineLearningServices` or `VirtualMachineImages`.

{{< /hint >}}

1. You should see similar output within your terminal as shown below:
3. You should see similar output within your terminal as shown below:

```text
Content dir "C:\\Repos\\Reliability\\Azure-Proactive-Resiliency-Library-v2\\azure-resources\\Storage" created
Expand All @@ -34,19 +34,19 @@ This section provides information about creating new content from Hugo archetype
## Create a New Azure Resource Type within an Existing Provider Namespace

1. Ensure you are in the root directory of the repository within your terminal
1. Run the following hugo command within your terminal
2. Run the following hugo command within your terminal

```bash
hugo new --kind azure-resource-type 'azure-resources/Storage/locations'
```
```bash
hugo new --kind azure-resource-type 'azure-resources/Storage/locations'
```

{{< hint type=important >}}
{{< hint type=important >}}

Replace `storageAccounts` with the name of the Azure resource type you want to create. Ensure that the name aligns to the available resource types found in the documentation [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). At this time, we are only allowing the creation of resource types one level deep, so you cannot create a resource type that is nested within another resource type such as `Storage/storageAccounts/blobServices`.
Replace `storageAccounts` with the name of the Azure resource type you want to create. Ensure that the name aligns to the available resource types found in the documentation [here](https://learn.microsoft.com/en-us/azure/templates/#find-resources). At this time, we are only allowing the creation of resource types one level deep, so you cannot create a resource type that is nested within another resource type such as `Storage/storageAccounts/blobServices`.

Also, ensure that it is formatted with no spaces and is using camel casing. For example, `automationAccounts` or `databaseAccounts`.
Also, ensure that it is formatted with no spaces and is using camel casing. For example, `automationAccounts` or `databaseAccounts`.

{{< /hint >}}
{{< /hint >}}

1. You should see similar output within your terminal as shown below:

Expand All @@ -59,44 +59,44 @@ This section provides information about creating new content from Hugo archetype
## Create a New Azure Specialized Workload

1. Ensure you are in the root directory of the repository within your terminal
1. Run the following hugo command within your terminal
2. Run the following hugo command within your terminal

```bash
hugo new --kind azure-specialized-workload 'azure-specialized-workloads/oracle'
```
```bash
hugo new --kind azure-specialized-workload 'azure-specialized-workloads/oracle'
```

{{< hint type=important >}}
{{< hint type=important >}}

Replace `oracle` with the name of the specialized workload you want to create.
Replace `oracle` with the name of the specialized workload you want to create.

Also, ensure that it is formatted with no spaces and is using camel case. For example, `hpcOnAzure`.
Also, ensure that it is formatted with no spaces and is using camel case. For example, `hpcOnAzure`.

{{< /hint >}}
{{< /hint >}}

1. You should see similar output within your terminal as shown below:
3. You should see similar output within your terminal as shown below:

```text
Content dir "C:\\Repos\\Reliability\\Azure-Proactive-Resiliency-Library-v2\\azure-specialized-workloads\\oracle" created
```
```text
Content dir "C:\\Repos\\Reliability\\Azure-Proactive-Resiliency-Library-v2\\azure-specialized-workloads\\oracle" created
```

1. You should now see a new directory created within the `azure-specialized` directory, named after the Azure specialized workload you specified. You can verify the creation by inspecting the directory in your local Hugo site, which should have been rebuilt automatically with the change.
4. You should now see a new directory created within the `azure-specialized` directory, named after the Azure specialized workload you specified. You can verify the creation by inspecting the directory in your local Hugo site, which should have been rebuilt automatically with the change.

## Create a New WAF Reliability Stage

1. Ensure you are in the root directory of the repository within your terminal
1. Run the following hugo command within your terminal:
2. Run the following hugo command within your terminal:

```bash
hugo new --kind azure-waf 'azure-waf/develop'
```

{{< hint type=important >}}
{{< hint type=important >}}

Replace `develop` with the name of the WAF reliability stage you want to create.
Replace `develop` with the name of the WAF reliability stage you want to create.

{{< /hint >}}
{{< /hint >}}

1. You should see similar output within your terminal as shown below:
3. You should see similar output within your terminal as shown below:

```text
Content dir "C:\\Repos\\Reliability\\Azure-Proactive-Resiliency-Library-v2\\azure-waf\\develop" created
Expand Down

0 comments on commit 10a6889

Please sign in to comment.