From: Joe Workman Date: Tue, 2 Nov 2021 01:26:16 +0000 (-0700) Subject: docs: doc asset fixes X-Git-Tag: v6.7.4^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e5dedbd9b5e651d0b336a361d09f931f900b01e9;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: doc asset fixes --- diff --git a/docs/assets/js/docs.buildingBlocks.js b/docs/assets/js/docs.buildingBlocks.js deleted file mode 100644 index 1e99403d0..000000000 --- a/docs/assets/js/docs.buildingBlocks.js +++ /dev/null @@ -1,27 +0,0 @@ -// Adds links to Building Blocks from the ZURB library to each component page - -!function() { - -$.ajax({ - url: 'https://zurb.com/library/api/building_blocks/type/buttons', - dataType: 'jsonp', - success: addBuildingBlocks -}); - -function addBuildingBlocks(data) { - var html = ''; - - $.each(data, function() { - html += '

'+this.name+'

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolor, amet incidunt sint esse nihil eum repellendus necessitatibus officiis iusto reprehenderit, alias laudantium veniam ad. Soluta repellat nemo quaerat quis laboriosam.

'; - }); - - $('[data-building-blocks]').each(function() { - $(this).html(html); - }); - - if ($('[data-building-blocks] .docs-bb').length === 0) { - $('.docs-building-blocks').hide(0); - } -} - -}() diff --git a/docs/assets/js/docs.kissmetrics.js b/docs/assets/js/docs.kissmetrics.js deleted file mode 100644 index 1fe846a0d..000000000 --- a/docs/assets/js/docs.kissmetrics.js +++ /dev/null @@ -1,18 +0,0 @@ -// Kissmetrics reporting - -!function() { - -var _kmq = _kmq || []; -var _kmk = _kmk || "d945f04ff5e68057c85f5323b46f185efb3826b3"; -function _kms(u){ - setTimeout(function(){ - var d = document, f = d.getElementsByTagName('script')[0], - s = d.createElement('script'); - s.type = 'text/javascript'; s.async = true; s.src = u; - f.parentNode.insertBefore(s, f); - }, 1); -} -_kms('//i.kissmetrics.com/i.js'); -_kms('//doug1izaerwt3.cloudfront.net/' + _kmk + '.1.js'); - -}(); diff --git a/docs/layout/default.html b/docs/layout/default.html index 3368e7a94..ecf806de3 100644 --- a/docs/layout/default.html +++ b/docs/layout/default.html @@ -48,20 +48,6 @@ - - - - diff --git a/docs/pages/index.md b/docs/pages/index.md index 08ca33020..ebf2871e6 100644 --- a/docs/pages/index.md +++ b/docs/pages/index.md @@ -19,11 +19,6 @@ There are a number of ways to install Foundation for Sites. Our installation pag ## New to Foundation for Sites? - - With an easy to understand syntax and consistent structure, you'll learn your way around Foundation in no time!