mirror of
https://github.com/docker/docs.git
synced 2026-10-28 07:15:09 +03:00
Remove glossary left-overs
Looks like removing the front-matter in f17ebae568
caused the output to break, resulting in a JavaScript error.
Looking at where this file was used, it turned out that it was loaded, but
never used anywhere.
This commit removes the remaining parts of the glossary search functionality,
which was not used.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -140,7 +140,6 @@
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/stickyfill.min.js"></script>
|
||||
<script defer src="/js/metadata.js"></script>
|
||||
<script src="/js/glossary.js"></script>
|
||||
<script defer src="/js/docs.js"></script>
|
||||
<script defer src="/js/toc.js"></script>
|
||||
<script defer src="/js/search.js"></script>
|
||||
|
||||
@@ -328,9 +328,6 @@ $(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
});
|
||||
|
||||
// Enable glossary link popovers
|
||||
$(".glossLink").popover();
|
||||
|
||||
// sync tabs with the same data-group
|
||||
window.onload = function () {
|
||||
$(".nav-tabs > li > a").click(function (e) {
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
var glossary = [
|
||||
{%- for entry in site.data.glossary -%}
|
||||
{"term": {{ entry[0] | jsonify }}, "def": {{ entry[1] | markdownify | jsonify }}}
|
||||
{%- unless forloop.last -%},{%- endunless -%}
|
||||
{%- endfor -%}
|
||||
]
|
||||
Reference in New Issue
Block a user