Skip to content

Commit

Permalink
📝 docs: update version info
Browse files Browse the repository at this point in the history
  • Loading branch information
niketpathak committed Jun 15, 2024
1 parent fe6114d commit c51080d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
9 changes: 2 additions & 7 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ body:
- v4.0.x
- v4.x.0
- v4.1x.0
- v4.20.0
- v4.21.0
- v4.22.0
- v4.23.0
- v4.24.0
- v4.25.x
- v4.26.0
- v4.2x.0
- v5.0.0
- Latest
validations:
required: true
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ require('typeahead-standalone/dist/basic.css');
<script src="https://cdn.jsdelivr.net/npm/typeahead-standalone"></script>

<!-- or use unpkg.com to get a specific version -->
<link rel="stylesheet" href="https://unpkg.com/typeahead-standalone@4.26.0/dist/basic.css" />
<script src="https://unpkg.com/typeahead-standalone@4.26.0/dist/typeahead-standalone.umd.js"></script>
<link rel="stylesheet" href="https://unpkg.com/typeahead-standalone@5.0.0/dist/basic.css" />
<script src="https://unpkg.com/typeahead-standalone@5.0.0/dist/typeahead-standalone.umd.js"></script>
```
The library will be available as a global object at **`window.typeahead`**

Expand Down
10 changes: 5 additions & 5 deletions docs/pages/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h4><a href="#install?id=cdn" id="cdn" title="Install typeahead-standalone.js vi
<p>The above links, by default, point to the latest version of typeahead-standalone.js</p>
</div>
<div class="tab-pane fade" id="nav-unpkg" role="tabpanel" aria-labelledby="nav-unpkg-tab">
<a class="simple-link" href="https://unpkg.com/typeahead-standalone@4.26.0/dist/typeahead-standalone.umd.js">
<a class="simple-link" href="https://unpkg.com/typeahead-standalone@5.0.0/dist/typeahead-standalone.umd.js">
<img src="./assets/img/logos/unpkg_logo.png" alt="Unpkg typeahead-standalone CDN Logo" width="100px">
</a>

Expand All @@ -91,14 +91,14 @@ <h4><a href="#install?id=cdn" id="cdn" title="Install typeahead-standalone.js vi
<span class="lang">HTML</span>
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span>
<pre
class="hljs language-html language-xml">&#60;script src="https://unpkg.com/typeahead-standalone@4.26.0/dist/typeahead-standalone.umd.js"&#62;&#60;/script&#62;</pre>
class="hljs language-html language-xml">&#60;script src="https://unpkg.com/typeahead-standalone@5.0.0/dist/typeahead-standalone.umd.js"&#62;&#60;/script&#62;</pre>
</div>
<p>Include the <code>CSS</code> (Optional, we recommend to override the default styling)</p>
<div class="codeContainer">
<span class="lang">HTML</span>
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span>
<pre
class="hljs language-html language-xml">&#60;link rel="stylesheet" href="https://unpkg.com/typeahead-standalone@4.26.0/dist/basic.css" /&#62;</pre>
class="hljs language-html language-xml">&#60;link rel="stylesheet" href="https://unpkg.com/typeahead-standalone@5.0.0/dist/basic.css" /&#62;</pre>
</div>
<p>The above links can be used to link to a specific version of typeahead-standalone.js</p>
</div>
Expand All @@ -115,10 +115,10 @@ <h4><a href="#install?id=direct-download" id="direct-download" title="Install ty

<div class="codeContainer">
<span class="copy" title="Copy to Clipboard"><i class="far fa-copy"></i></span>
<pre class="hljs">https://registry.npmjs.org/typeahead-standalone/-/typeahead-standalone-4.26.0.tgz</pre>
<pre class="hljs">https://registry.npmjs.org/typeahead-standalone/-/typeahead-standalone-5.0.0.tgz</pre>
</div>

where <code>4.26.0</code> refers to the version number. To use another version, replace the version in the above url by
where <code>5.0.0</code> refers to the version number. To use another version, replace the version in the above url by
the desired version.
All available versions/releases are listed on <a href="https://github.com/digitalfortress-tech/typeahead-standalone/releases">github</a>.

Expand Down

0 comments on commit c51080d

Please sign in to comment.