Skip to content

Commit

Permalink
📝 docs: update readme and version history
Browse files Browse the repository at this point in the history
  • Loading branch information
niketpathak committed May 3, 2024
1 parent 47b4ad6 commit 90b2ec8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ body:
- v4.22.0
- v4.23.0
- v4.24.0
- v4.25.0
- v4.25.2
- v4.25.x
- v4.26.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.25.5/dist/basic.css" />
<script src="https://unpkg.com/typeahead-standalone@4.25.5/dist/typeahead-standalone.umd.js"></script>
<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>
```
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.25.5/dist/typeahead-standalone.umd.js">
<a class="simple-link" href="https://unpkg.com/typeahead-standalone@4.26.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.25.5/dist/typeahead-standalone.umd.js"&#62;&#60;/script&#62;</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>
</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.25.5/dist/basic.css" /&#62;</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>
</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.25.5.tgz</pre>
<pre class="hljs">https://registry.npmjs.org/typeahead-standalone/-/typeahead-standalone-4.26.0.tgz</pre>
</div>

where <code>4.25.5</code> refers to the version number. To use another version, replace the version in the above url by
where <code>4.26.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 90b2ec8

Please sign in to comment.