Skip to content

Commit 9ac9ab6

Browse files
committed
Use the built-in alert helpers
1 parent 073a0f7 commit 9ac9ab6

9 files changed

Lines changed: 19 additions & 50 deletions

File tree

‎website/source/docs/internals/graph.html.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ generate plans, refresh state, and more. This page documents
1515
the details of what are contained in this graph, what types
1616
of nodes there are, and how the edges of the graph are determined.
1717

18-
<div class="alert alert-block alert-warning">
19-
<strong>Advanced Topic!</strong> This page covers technical details
18+
~> **Advanced Topic!** This page covers technical details
2019
of Terraform. You don't need to understand these details to
2120
effectively use Terraform. The details are documented here for
2221
those who wish to learn about them without having to go
2322
spelunking through the source code.
24-
</div>
2523

2624
## Graph Nodes
2725

‎website/source/docs/internals/index.html.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ of this section is to remove any notion of "magic" from Terraform.
1414
We want you to be able to trust and understand what Terraform is
1515
doing to function.
1616

17-
<div class="alert alert-block alert-info">
18-
<strong>Note:</strong> Knowledge of Terraform internals is not
17+
-> **Note:** Knowledge of Terraform internals is not
1918
required to use Terraform. If you aren't interested in the internals
2019
of Terraform, you may safely skip this section.
21-
</div>

‎website/source/docs/internals/lifecycle.html.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ state machines. Understanding this lifecycle can help better understand
1313
how Terraform generates an execution plan, how it safely executes that
1414
plan, and what the resource provider is doing throughout all of this.
1515

16-
<div class="alert alert-block alert-warning">
17-
<strong>Advanced Topic!</strong> This page covers technical details
16+
~> **Advanced Topic!** This page covers technical details
1817
of Terraform. You don't need to understand these details to
1918
effectively use Terraform. The details are documented here for
2019
those who wish to learn about them without having to go
2120
spelunking through the source code.
22-
</div>
2321

2422
## Lifecycle
2523

‎website/source/docs/plugins/basics.html.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ This page documents the basics of how the plugin system in Terraform
1212
works, and how to setup a basic development environment for plugin development
1313
if you're writing a Terraform plugin.
1414

15-
<div class="alert alert-block alert-warning">
16-
<strong>Advanced topic!</strong> Plugin development is a highly advanced
15+
~> **Advanced topic!** Plugin development is a highly advanced
1716
topic in Terraform, and is not required knowledge for day-to-day usage.
1817
If you don't plan on writing any plugins, we recommend not reading
1918
this section of the documentation.
20-
</div>
2119

2220
## How it Works
2321

@@ -70,12 +68,10 @@ Developing a plugin is simple. The only knowledge necessary to write
7068
a plugin is basic command-line skills and basic knowledge of the
7169
[Go programming language](http://golang.org).
7270

73-
<div class="alert alert-block alert-info">
74-
<strong>Note:</strong> A common pitfall is not properly setting up a
71+
-> **Note:** A common pitfall is not properly setting up a
7572
<code>$GOPATH</code>. This can lead to strange errors. You can read more about
76-
this <a href="https://golang.org/doc/code.html">here</a> to familiarize
73+
this [here](https://golang.org/doc/code.html) to familiarize
7774
yourself.
78-
</div>
7975

8076
Create a new Go project somewhere in your `$GOPATH`. If you're a
8177
GitHub user, we recommend creating the project in the directory

‎website/source/docs/plugins/index.html.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ to write plugins for Terraform. It does not hold your hand through the
1818
process, however, and expects a relatively high level of understanding
1919
of Go, provider semantics, Unix, etc.
2020

21-
<div class="alert alert-block alert-warning">
22-
<strong>Advanced topic!</strong> Plugin development is a highly advanced
21+
~> **Advanced topic!** Plugin development is a highly advanced
2322
topic in Terraform, and is not required knowledge for day-to-day usage.
2423
If you don't plan on writing any plugins, we recommend not reading
2524
this section of the documentation.
26-
</div>

‎website/source/docs/plugins/provider.html.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ The primary reasons to care about provider plugins are:
2222
* You want to write a completely new provider for custom, internal
2323
systems such as a private inventory management system.
2424

25-
<div class="alert alert-block alert-warning">
26-
<strong>Advanced topic!</strong> Plugin development is a highly advanced
25+
~> **Advanced topic!** Plugin development is a highly advanced
2726
topic in Terraform, and is not required knowledge for day-to-day usage.
2827
If you don't plan on writing any plugins, we recommend not reading
2928
this section of the documentation.
30-
</div>
3129

3230
If you're interested in provider development, then read on. The remainder
3331
of this page will assume you're familiar with

‎website/source/intro/examples/index.html.markdown‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ ask for input of things such as variables and API keys. If you want to
1616
conitnue using the example, you should save those parameters in a
1717
"terraform.tfvars" file or in a `provider` config bock.
1818

19-
<div class="alert alert-block alert-warning">
20-
<div>
21-
<strong>Note:</strong> The examples use real providers that launch
22-
<em>real</em> resources. That means they can cost money to
23-
experiment with. To avoid unexpected charges, be sure to understand the price
24-
of resources before launching them, and verify any unneeded resources
25-
are cleaned up afterwards.</div>
26-
</div>
19+
~> **Warning!** The examples use real providers that launch _real_ resources.
20+
That means they can cost money to experiment with. To avoid unexpected charges,
21+
be sure to understand the price of resources before launching them, and verify
22+
any unneeded resources are cleaned up afterwards.
2723

2824
Experimenting in this way can help you learn how the Terraform lifecycle
2925
works, as well as how to repeatedly create and destroy infrastructure.

‎website/source/intro/getting-started/build.html.md‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,10 @@ If you already have an AWS account, you may be charged some
2929
amount of money, but it shouldn't be more than a few dollars
3030
at most.
3131
32-
<div class="alert alert-block alert-warning">
33-
<p>
34-
<strong>Note:</strong> If you're not using an account that qualifies
35-
under the AWS
36-
<a href="http://aws.amazon.com/free/">free-tier</a>,
37-
you may be charged to run these examples. The most you should
38-
be charged should only be a few dollars, but we're not responsible
39-
for any charges that may incur.
40-
</p>
41-
</div>
32+
~> **Warning!** If you're not using an account that qualifies under the AWS
33+
[free-tier](http://aws.amazon.com/free/), you may be charged to run these
34+
examples. The most you should be charged should only be a few dollars, but
35+
we're not responsible for any charges that may incur.
4236
4337
## Configuration
4438

‎website/source/intro/getting-started/modules.html.md‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,9 @@ This section of the getting started will cover the basics of using modules.
2121
Writing modules is covered in more detail in the
2222
[modules documentation](/docs/modules/index.html).
2323

24-
<div class="alert alert-block alert-warning">
25-
<p>
26-
<strong>Warning:</strong> The examples on this page are
27-
<em>not eligible</em> for the
28-
AWS
29-
<a href="http://aws.amazon.com/free/">free-tier</a>. Do not execute
30-
the examples on this page unless you're willing to spend a small
31-
amount of money.
32-
</p>
33-
</div>
24+
~> **Warning!** The examples on this page are _**not** eligible_ for the AWS
25+
[free-tier](http://aws.amazon.com/free/). Do not execute the examples on this
26+
page unless you're willing to spend a small amount of money.
3427

3528
## Using Modules
3629

0 commit comments

Comments
 (0)