Skip to content

Commit 3c86792

Browse files
close #127 | point to a specific version of Rapido in the documentation
1 parent e9899a0 commit 3c86792

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,14 @@ <h1>Motivation</h1>
6060
</section>
6161
<section>
6262
<h1 id="getting-started">Getting started</h1>
63-
<p>Rapido provides style rules in the <code>rapido.css</code> stylesheet, you can download the CSS file from <a href="https://raw.githubusercontent.com/nextbitlabs/Rapido/master/rapido.css">Github</a> and link to it within the <code>&lt;head&gt;</code> element in your document.</p>
63+
<p>Rapido provides style rules in the <code>rapido.css</code> stylesheet, you can see the latest version of the CSS file in <a href="https://raw.githubusercontent.com/nextbitlabs/Rapido/master/rapido.css">Github</a>. Use <code>rapido.css</code> linking to it within the <code>&lt;head&gt;</code> element in your document.</p>
6464
<figure>
6565
<pre><code>&lt;head&gt;</code>
66-
<mark><code> &lt;link href="https://unpkg.com/@nextbitlabs/rapido@latest/rapido.css" rel="stylesheet" type="text/css"&gt;</code></mark>
66+
<mark><code> &lt;link href="https://unpkg.com/@nextbitlabs/rapido@^3/rapido.css" rel="stylesheet" type="text/css"&gt;</code></mark>
6767
<code>&lt;/head&gt;</code></pre>
68+
<figcaption>
69+
<p>Link to <code>rapido.css</code> in <a href="https://unpkg.com/">unpkg</a>. Rapido uses <a href="https://semver.org/"></a> semantic versioning, the example fetches the major release 3.x.</p>
70+
</figcaption>
6871
</figure>
6972
<p>The style rules defined in <code>rapido.css</code> are name-spaced under the CSS class <code>rapido</code>. Being Rapido thought for web essays, the place to use the CSS class is the <code>&lt;article&gt;</code> element, as showed in the next snippet.</p>
7073
<figure>
@@ -86,7 +89,7 @@ <h2>Get your hands dirty</h2>
8689
&lt;head&gt;
8790
&lt;meta charset="utf-8"&gt;
8891
&lt;meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=yes"&gt;
89-
&lt;link href="https://unpkg.com/@nextbitlabs/rapido@latest/rapido.css" rel="stylesheet" type="text/css"&gt;
92+
&lt;link href="https://unpkg.com/@nextbitlabs/rapido@^3/rapido.css" rel="stylesheet" type="text/css"&gt;
9093
&lt;/head&gt;
9194
&lt;body&gt;
9295
&lt;main&gt;

0 commit comments

Comments
 (0)